Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
linux
Commits
fae581e5
Commit
fae581e5
authored
14 years ago
by
Thomas Gleixner
Browse files
Options
Download
Email Patches
Plain Diff
genirq: Remove CHECK_IRQ_PER_CPU from core code
Signed-off-by:
Thomas Gleixner
<
tglx@linutronix.de
>
parent
8f53f924
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
kernel/irq/manage.c
kernel/irq/manage.c
+2
-2
kernel/irq/migration.c
kernel/irq/migration.c
+1
-1
No files found.
kernel/irq/manage.c
View file @
fae581e5
...
...
@@ -73,8 +73,8 @@ int irq_can_set_affinity(unsigned int irq)
{
struct
irq_desc
*
desc
=
irq_to_desc
(
irq
);
if
(
CHECK_IRQ_PER_CPU
(
desc
->
status
)
||
!
desc
->
irq_data
.
chip
||
!
desc
->
irq_data
.
chip
->
irq_set_affinity
)
if
(
(
desc
->
status
&
(
IRQ_PER_CPU
|
IRQ_NO_BALANCING
))
||
!
desc
->
irq_data
.
chip
||
!
desc
->
irq_data
.
chip
->
irq_set_affinity
)
return
0
;
return
1
;
...
...
This diff is collapsed.
Click to expand it.
kernel/irq/migration.c
View file @
fae581e5
...
...
@@ -15,7 +15,7 @@ void move_masked_irq(int irq)
/*
* Paranoia: cpu-local interrupts shouldn't be calling in here anyway.
*/
if
(
CHECK_IRQ_PER_CPU
(
desc
->
status
))
{
if
(
desc
->
status
&
(
IRQ_PER_CPU
|
IRQ_NO_BALANCING
))
{
WARN_ON
(
1
);
return
;
}
...
...
This diff is collapsed.
Click to expand it.
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