diff options
| author | Jaswinder Singh Rajput <jaswinder@infradead.org> | 2009-01-04 06:05:17 -0500 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2009-01-04 12:19:38 -0500 |
| commit | aa09e6cdae4c60c3070176498abf99b81e1b40fe (patch) | |
| tree | 15df2c7011f081a647c465d1569d7ab0610780a6 | |
| parent | 7bafaf306769348723471e133adaa57238770492 (diff) | |
x86: irqinit_32.c fix style problems
Impact: cleanup
Fix:
WARNING: Use #include <linux/io.h> instead of <asm/io.h>
WARNING: Use #include <linux/delay.h> instead of <asm/delay.h>
ERROR: trailing whitespace
WARNING: externs should be avoided in .c files
ERROR: space required after that ',' (ctx:VxV)
WARNING: space prohibited between function name and open parenthesis '('
total: 2 errors, 4 warnings
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
| -rw-r--r-- | arch/x86/kernel/irqinit_32.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/x86/kernel/irqinit_32.c b/arch/x86/kernel/irqinit_32.c index 84723295f88a..1507ad4e674d 100644 --- a/arch/x86/kernel/irqinit_32.c +++ b/arch/x86/kernel/irqinit_32.c | |||
| @@ -9,18 +9,18 @@ | |||
| 9 | #include <linux/kernel_stat.h> | 9 | #include <linux/kernel_stat.h> |
| 10 | #include <linux/sysdev.h> | 10 | #include <linux/sysdev.h> |
| 11 | #include <linux/bitops.h> | 11 | #include <linux/bitops.h> |
| 12 | #include <linux/io.h> | ||
| 13 | #include <linux/delay.h> | ||
| 12 | 14 | ||
| 13 | #include <asm/atomic.h> | 15 | #include <asm/atomic.h> |
| 14 | #include <asm/system.h> | 16 | #include <asm/system.h> |
| 15 | #include <asm/io.h> | ||
| 16 | #include <asm/timer.h> | 17 | #include <asm/timer.h> |
| 17 | #include <asm/pgtable.h> | 18 | #include <asm/pgtable.h> |
| 18 | #include <asm/delay.h> | ||
| 19 | #include <asm/desc.h> | 19 | #include <asm/desc.h> |
| 20 | #include <asm/apic.h> | 20 | #include <asm/apic.h> |
| 21 | #include <asm/arch_hooks.h> | 21 | #include <asm/arch_hooks.h> |
| 22 | #include <asm/i8259.h> | 22 | #include <asm/i8259.h> |
| 23 | 23 | #include <asm/traps.h> | |
| 24 | 24 | ||
| 25 | 25 | ||
| 26 | /* | 26 | /* |
| @@ -34,12 +34,10 @@ | |||
| 34 | * leads to races. IBM designers who came up with it should | 34 | * leads to races. IBM designers who came up with it should |
| 35 | * be shot. | 35 | * be shot. |
| 36 | */ | 36 | */ |
| 37 | |||
| 38 | 37 | ||
| 39 | static irqreturn_t math_error_irq(int cpl, void *dev_id) | 38 | static irqreturn_t math_error_irq(int cpl, void *dev_id) |
| 40 | { | 39 | { |
| 41 | extern void math_error(void __user *); | 40 | outb(0, 0xF0); |
| 42 | outb(0,0xF0); | ||
| 43 | if (ignore_fpu_irq || !boot_cpu_data.hard_math) | 41 | if (ignore_fpu_irq || !boot_cpu_data.hard_math) |
| 44 | return IRQ_NONE; | 42 | return IRQ_NONE; |
| 45 | math_error((void __user *)get_irq_regs()->ip); | 43 | math_error((void __user *)get_irq_regs()->ip); |
| @@ -56,7 +54,7 @@ static struct irqaction fpu_irq = { | |||
| 56 | .name = "fpu", | 54 | .name = "fpu", |
| 57 | }; | 55 | }; |
| 58 | 56 | ||
| 59 | void __init init_ISA_irqs (void) | 57 | void __init init_ISA_irqs(void) |
| 60 | { | 58 | { |
| 61 | int i; | 59 | int i; |
| 62 | 60 | ||
