diff options
Diffstat (limited to 'arch/m32r/kernel/setup_opsput.c')
-rw-r--r-- | arch/m32r/kernel/setup_opsput.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/m32r/kernel/setup_opsput.c b/arch/m32r/kernel/setup_opsput.c index 1fbb140854e7..548e8fc7949b 100644 --- a/arch/m32r/kernel/setup_opsput.c +++ b/arch/m32r/kernel/setup_opsput.c | |||
@@ -27,15 +27,7 @@ | |||
27 | */ | 27 | */ |
28 | #define irq2port(x) (M32R_ICU_CR1_PORTL + ((x - 1) * sizeof(unsigned long))) | 28 | #define irq2port(x) (M32R_ICU_CR1_PORTL + ((x - 1) * sizeof(unsigned long))) |
29 | 29 | ||
30 | #ifndef CONFIG_SMP | ||
31 | typedef struct { | ||
32 | unsigned long icucr; /* ICU Control Register */ | ||
33 | } icu_data_t; | ||
34 | static icu_data_t icu_data[OPSPUT_NUM_CPU_IRQ]; | ||
35 | #else | ||
36 | icu_data_t icu_data[OPSPUT_NUM_CPU_IRQ]; | 30 | icu_data_t icu_data[OPSPUT_NUM_CPU_IRQ]; |
37 | #endif /* CONFIG_SMP */ | ||
38 | |||
39 | 31 | ||
40 | static void disable_opsput_irq(unsigned int irq) | 32 | static void disable_opsput_irq(unsigned int irq) |
41 | { | 33 | { |