Commit 5f66b2a0d919e84ee921dc21c9dbfddd1215c0e9
Committed by
Ingo Molnar
1 parent
6a02e71099
Exists in
master
and in
7 other branches
x86: irq_64.c fix style problems
Impact: cleanup, fix style problems, more readable Fix: WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h> WARNING: Use #include <linux/smp.h> instead of <asm/smp.h> ERROR: code indent should use tabs where possible total: 9 errors, 2 warnings Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Showing 1 changed file with 11 additions and 11 deletions Side-by-side Diff
arch/x86/kernel/irq_64.c
... | ... | @@ -14,10 +14,10 @@ |
14 | 14 | #include <linux/module.h> |
15 | 15 | #include <linux/delay.h> |
16 | 16 | #include <linux/ftrace.h> |
17 | -#include <asm/uaccess.h> | |
17 | +#include <linux/uaccess.h> | |
18 | +#include <linux/smp.h> | |
18 | 19 | #include <asm/io_apic.h> |
19 | 20 | #include <asm/idle.h> |
20 | -#include <asm/smp.h> | |
21 | 21 | |
22 | 22 | /* |
23 | 23 | * Probabilistic stack overflow check: |
24 | 24 | |
25 | 25 | |
26 | 26 | |
... | ... | @@ -142,19 +142,19 @@ |
142 | 142 | |
143 | 143 | asmlinkage void do_softirq(void) |
144 | 144 | { |
145 | - __u32 pending; | |
146 | - unsigned long flags; | |
145 | + __u32 pending; | |
146 | + unsigned long flags; | |
147 | 147 | |
148 | - if (in_interrupt()) | |
149 | - return; | |
148 | + if (in_interrupt()) | |
149 | + return; | |
150 | 150 | |
151 | - local_irq_save(flags); | |
152 | - pending = local_softirq_pending(); | |
153 | - /* Switch to interrupt stack */ | |
154 | - if (pending) { | |
151 | + local_irq_save(flags); | |
152 | + pending = local_softirq_pending(); | |
153 | + /* Switch to interrupt stack */ | |
154 | + if (pending) { | |
155 | 155 | call_softirq(); |
156 | 156 | WARN_ON_ONCE(softirq_count()); |
157 | 157 | } |
158 | - local_irq_restore(flags); | |
158 | + local_irq_restore(flags); | |
159 | 159 | } |