Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
5a7b3ff4
Commit
5a7b3ff4
authored
Nov 09, 2005
by
Stephen Rothwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: allow iSeries to use IRQSTACKS again
Signed-off-by:
Stephen Rothwell
<
sfr@canb.auug.org.au
>
parent
b709c083
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
arch/powerpc/platforms/iseries/irq.c
arch/powerpc/platforms/iseries/irq.c
+17
-1
No files found.
arch/powerpc/platforms/iseries/irq.c
View file @
5a7b3ff4
...
...
@@ -103,6 +103,9 @@ static void intReceived(struct XmPciLpEvent *eventParm,
struct
pt_regs
*
regsParm
)
{
int
irq
;
#ifdef CONFIG_IRQSTACKS
struct
thread_info
*
curtp
,
*
irqtp
;
#endif
++
Pci_Interrupt_Count
;
...
...
@@ -110,7 +113,20 @@ static void intReceived(struct XmPciLpEvent *eventParm,
case
XmPciLpEvent_SlotInterrupt
:
irq
=
eventParm
->
hvLpEvent
.
xCorrelationToken
;
/* Dispatch the interrupt handlers for this irq */
ppc_irq_dispatch_handler
(
regsParm
,
irq
);
#ifdef CONFIG_IRQSTACKS
/* Switch to the irq stack to handle this */
curtp
=
current_thread_info
();
irqtp
=
hardirq_ctx
[
smp_processor_id
()];
if
(
curtp
!=
irqtp
)
{
irqtp
->
task
=
curtp
->
task
;
irqtp
->
flags
=
0
;
call_ppc_irq_dispatch_handler
(
regsParm
,
irq
,
irqtp
);
irqtp
->
task
=
NULL
;
if
(
irqtp
->
flags
)
set_bits
(
irqtp
->
flags
,
&
curtp
->
flags
);
}
else
#endif
ppc_irq_dispatch_handler
(
regsParm
,
irq
);
HvCallPci_eoi
(
eventParm
->
eventData
.
slotInterrupt
.
busNumber
,
eventParm
->
eventData
.
slotInterrupt
.
subBusNumber
,
eventParm
->
eventData
.
slotInterrupt
.
deviceId
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment