diff options
| -rw-r--r-- | arch/mips/ddb5xxx/ddb5477/irq.c | 1 | ||||
| -rw-r--r-- | arch/mips/ddb5xxx/ddb5477/setup.c | 3 | ||||
| -rw-r--r-- | arch/mips/jmr3927/rbhma3100/setup.c | 2 | ||||
| -rw-r--r-- | arch/mips/sgi-ip22/ip22-time.c | 3 |
4 files changed, 3 insertions, 6 deletions
diff --git a/arch/mips/ddb5xxx/ddb5477/irq.c b/arch/mips/ddb5xxx/ddb5477/irq.c index 22fb94b7c440..513fc6722d84 100644 --- a/arch/mips/ddb5xxx/ddb5477/irq.c +++ b/arch/mips/ddb5xxx/ddb5477/irq.c | |||
| @@ -74,7 +74,6 @@ set_pci_int_attr(u32 pci, u32 intn, u32 active, u32 trigger) | |||
| 74 | 74 | ||
| 75 | extern void vrc5477_irq_init(u32 base); | 75 | extern void vrc5477_irq_init(u32 base); |
| 76 | extern void mips_cpu_irq_init(u32 base); | 76 | extern void mips_cpu_irq_init(u32 base); |
| 77 | extern int setup_irq(unsigned int irq, struct irqaction *irqaction); | ||
| 78 | static struct irqaction irq_cascade = { no_action, 0, CPU_MASK_NONE, "cascade", NULL, NULL }; | 77 | static struct irqaction irq_cascade = { no_action, 0, CPU_MASK_NONE, "cascade", NULL, NULL }; |
| 79 | 78 | ||
| 80 | void __init arch_init_irq(void) | 79 | void __init arch_init_irq(void) |
diff --git a/arch/mips/ddb5xxx/ddb5477/setup.c b/arch/mips/ddb5xxx/ddb5477/setup.c index 47ba0b6f210f..904c8f4f3c4c 100644 --- a/arch/mips/ddb5xxx/ddb5477/setup.c +++ b/arch/mips/ddb5xxx/ddb5477/setup.c | |||
| @@ -19,6 +19,7 @@ | |||
| 19 | #include <linux/sched.h> | 19 | #include <linux/sched.h> |
| 20 | #include <linux/pci.h> | 20 | #include <linux/pci.h> |
| 21 | #include <linux/ide.h> | 21 | #include <linux/ide.h> |
| 22 | #include <linux/irq.h> | ||
| 22 | #include <linux/fs.h> | 23 | #include <linux/fs.h> |
| 23 | #include <linux/ioport.h> | 24 | #include <linux/ioport.h> |
| 24 | #include <linux/param.h> /* for HZ */ | 25 | #include <linux/param.h> /* for HZ */ |
| @@ -146,8 +147,6 @@ static void __init ddb_time_init(void) | |||
| 146 | mips_hpt_frequency = bus_frequency*(i+4)/4; | 147 | mips_hpt_frequency = bus_frequency*(i+4)/4; |
| 147 | } | 148 | } |
| 148 | 149 | ||
| 149 | extern int setup_irq(unsigned int irq, struct irqaction *irqaction); | ||
| 150 | |||
| 151 | static void __init ddb_timer_setup(struct irqaction *irq) | 150 | static void __init ddb_timer_setup(struct irqaction *irq) |
| 152 | { | 151 | { |
| 153 | #if defined(USE_CPU_COUNTER_TIMER) | 152 | #if defined(USE_CPU_COUNTER_TIMER) |
diff --git a/arch/mips/jmr3927/rbhma3100/setup.c b/arch/mips/jmr3927/rbhma3100/setup.c index 6d4635d89d94..36d22b9413b8 100644 --- a/arch/mips/jmr3927/rbhma3100/setup.c +++ b/arch/mips/jmr3927/rbhma3100/setup.c | |||
| @@ -40,6 +40,7 @@ | |||
| 40 | #include <linux/sched.h> | 40 | #include <linux/sched.h> |
| 41 | #include <linux/pci.h> | 41 | #include <linux/pci.h> |
| 42 | #include <linux/ide.h> | 42 | #include <linux/ide.h> |
| 43 | #include <linux/irq.h> | ||
| 43 | #include <linux/ioport.h> | 44 | #include <linux/ioport.h> |
| 44 | #include <linux/param.h> /* for HZ */ | 45 | #include <linux/param.h> /* for HZ */ |
| 45 | #include <linux/delay.h> | 46 | #include <linux/delay.h> |
| @@ -183,7 +184,6 @@ static void __init jmr3927_time_init(void) | |||
| 183 | } | 184 | } |
| 184 | 185 | ||
| 185 | unsigned long jmr3927_do_gettimeoffset(void); | 186 | unsigned long jmr3927_do_gettimeoffset(void); |
| 186 | extern int setup_irq(unsigned int irq, struct irqaction *irqaction); | ||
| 187 | 187 | ||
| 188 | static void __init jmr3927_timer_setup(struct irqaction *irq) | 188 | static void __init jmr3927_timer_setup(struct irqaction *irq) |
| 189 | { | 189 | { |
diff --git a/arch/mips/sgi-ip22/ip22-time.c b/arch/mips/sgi-ip22/ip22-time.c index cca688ad64ad..0bae605201c4 100644 --- a/arch/mips/sgi-ip22/ip22-time.c +++ b/arch/mips/sgi-ip22/ip22-time.c | |||
| @@ -12,6 +12,7 @@ | |||
| 12 | #include <linux/bcd.h> | 12 | #include <linux/bcd.h> |
| 13 | #include <linux/ds1286.h> | 13 | #include <linux/ds1286.h> |
| 14 | #include <linux/init.h> | 14 | #include <linux/init.h> |
| 15 | #include <linux/irq.h> | ||
| 15 | #include <linux/kernel.h> | 16 | #include <linux/kernel.h> |
| 16 | #include <linux/interrupt.h> | 17 | #include <linux/interrupt.h> |
| 17 | #include <linux/kernel_stat.h> | 18 | #include <linux/kernel_stat.h> |
| @@ -198,8 +199,6 @@ void indy_r4k_timer_interrupt(struct pt_regs *regs) | |||
| 198 | irq_exit(); | 199 | irq_exit(); |
| 199 | } | 200 | } |
| 200 | 201 | ||
| 201 | extern int setup_irq(unsigned int irq, struct irqaction *irqaction); | ||
| 202 | |||
| 203 | static void indy_timer_setup(struct irqaction *irq) | 202 | static void indy_timer_setup(struct irqaction *irq) |
| 204 | { | 203 | { |
| 205 | /* over-write the handler, we use our own way */ | 204 | /* over-write the handler, we use our own way */ |
