Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
ffe8c05d
Commit
ffe8c05d
authored
May 25, 2003
by
Andrew Morton
Committed by
Linus Torvalds
May 25, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ppc64: PPC64 irq return fix
PPC64 irq return fix
parent
d69b7c27
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
arch/ppc64/kernel/xics.c
arch/ppc64/kernel/xics.c
+1
-3
No files found.
arch/ppc64/kernel/xics.c
View file @
ffe8c05d
...
@@ -322,11 +322,9 @@ extern struct xics_ipi_struct xics_ipi_message[NR_CPUS] __cacheline_aligned;
...
@@ -322,11 +322,9 @@ extern struct xics_ipi_struct xics_ipi_message[NR_CPUS] __cacheline_aligned;
irqreturn_t
xics_ipi_action
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
irqreturn_t
xics_ipi_action
(
int
irq
,
void
*
dev_id
,
struct
pt_regs
*
regs
)
{
{
int
cpu
=
smp_processor_id
();
int
cpu
=
smp_processor_id
();
int
handled
=
0
;
ops
->
qirr_info
(
cpu
,
0xff
);
ops
->
qirr_info
(
cpu
,
0xff
);
while
(
xics_ipi_message
[
cpu
].
value
)
{
while
(
xics_ipi_message
[
cpu
].
value
)
{
handled
=
1
;
if
(
test_and_clear_bit
(
PPC_MSG_CALL_FUNCTION
,
if
(
test_and_clear_bit
(
PPC_MSG_CALL_FUNCTION
,
&
xics_ipi_message
[
cpu
].
value
))
{
&
xics_ipi_message
[
cpu
].
value
))
{
mb
();
mb
();
...
@@ -352,7 +350,7 @@ irqreturn_t xics_ipi_action(int irq, void *dev_id, struct pt_regs *regs)
...
@@ -352,7 +350,7 @@ irqreturn_t xics_ipi_action(int irq, void *dev_id, struct pt_regs *regs)
}
}
#endif
#endif
}
}
return
IRQ_
RETVAL
(
handled
)
;
return
IRQ_
HANDLED
;
}
}
void
xics_cause_IPI
(
int
cpu
)
void
xics_cause_IPI
(
int
cpu
)
...
...
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