diff options
Diffstat (limited to 'arch/alpha/kernel')
36 files changed, 44 insertions, 71 deletions
diff --git a/arch/alpha/kernel/alpha_ksyms.c b/arch/alpha/kernel/alpha_ksyms.c index d3848c5b0d2b..425643762bf5 100644 --- a/arch/alpha/kernel/alpha_ksyms.c +++ b/arch/alpha/kernel/alpha_ksyms.c | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | * modules. | 5 | * modules. |
| 6 | */ | 6 | */ |
| 7 | 7 | ||
| 8 | #include <linux/config.h> | ||
| 9 | #include <linux/module.h> | 8 | #include <linux/module.h> |
| 10 | #include <linux/string.h> | 9 | #include <linux/string.h> |
| 11 | #include <linux/user.h> | 10 | #include <linux/user.h> |
diff --git a/arch/alpha/kernel/console.c b/arch/alpha/kernel/console.c index cb3e739fbad8..f313b34939bb 100644 --- a/arch/alpha/kernel/console.c +++ b/arch/alpha/kernel/console.c | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | * non-0 I/O hose | 5 | * non-0 I/O hose |
| 6 | */ | 6 | */ |
| 7 | 7 | ||
| 8 | #include <linux/config.h> | ||
| 9 | #include <linux/pci.h> | 8 | #include <linux/pci.h> |
| 10 | #include <linux/init.h> | 9 | #include <linux/init.h> |
| 11 | #include <linux/tty.h> | 10 | #include <linux/tty.h> |
diff --git a/arch/alpha/kernel/entry.S b/arch/alpha/kernel/entry.S index 7af15bf7e5ab..01ecd09d4a64 100644 --- a/arch/alpha/kernel/entry.S +++ b/arch/alpha/kernel/entry.S | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | * Kernel entry-points. | 4 | * Kernel entry-points. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #include <linux/config.h> | ||
| 8 | #include <asm/asm-offsets.h> | 7 | #include <asm/asm-offsets.h> |
| 9 | #include <asm/thread_info.h> | 8 | #include <asm/thread_info.h> |
| 10 | #include <asm/pal.h> | 9 | #include <asm/pal.h> |
diff --git a/arch/alpha/kernel/gct.c b/arch/alpha/kernel/gct.c index 8827687b9f89..c0c7155448e0 100644 --- a/arch/alpha/kernel/gct.c +++ b/arch/alpha/kernel/gct.c | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | * linux/arch/alpha/kernel/gct.c | 2 | * linux/arch/alpha/kernel/gct.c |
| 3 | */ | 3 | */ |
| 4 | 4 | ||
| 5 | #include <linux/config.h> | ||
| 6 | #include <linux/kernel.h> | 5 | #include <linux/kernel.h> |
| 7 | #include <linux/types.h> | 6 | #include <linux/types.h> |
| 8 | #include <linux/errno.h> | 7 | #include <linux/errno.h> |
diff --git a/arch/alpha/kernel/head.S b/arch/alpha/kernel/head.S index 0905721fcbca..1e2a62a1f75f 100644 --- a/arch/alpha/kernel/head.S +++ b/arch/alpha/kernel/head.S | |||
| @@ -7,7 +7,6 @@ | |||
| 7 | * the kernel global pointer and jump to the kernel entry-point. | 7 | * the kernel global pointer and jump to the kernel entry-point. |
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | #include <linux/config.h> | ||
| 11 | #include <asm/system.h> | 10 | #include <asm/system.h> |
| 12 | #include <asm/asm-offsets.h> | 11 | #include <asm/asm-offsets.h> |
| 13 | 12 | ||
diff --git a/arch/alpha/kernel/irq.c b/arch/alpha/kernel/irq.c index da677f829f76..729c475d2269 100644 --- a/arch/alpha/kernel/irq.c +++ b/arch/alpha/kernel/irq.c | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | * should be easier. | 10 | * should be easier. |
| 11 | */ | 11 | */ |
| 12 | 12 | ||
| 13 | #include <linux/config.h> | ||
| 14 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
| 15 | #include <linux/module.h> | 14 | #include <linux/module.h> |
| 16 | #include <linux/errno.h> | 15 | #include <linux/errno.h> |
| @@ -49,15 +48,15 @@ select_smp_affinity(unsigned int irq) | |||
| 49 | static int last_cpu; | 48 | static int last_cpu; |
| 50 | int cpu = last_cpu + 1; | 49 | int cpu = last_cpu + 1; |
| 51 | 50 | ||
| 52 | if (!irq_desc[irq].handler->set_affinity || irq_user_affinity[irq]) | 51 | if (!irq_desc[irq].chip->set_affinity || irq_user_affinity[irq]) |
| 53 | return 1; | 52 | return 1; |
| 54 | 53 | ||
| 55 | while (!cpu_possible(cpu)) | 54 | while (!cpu_possible(cpu)) |
| 56 | cpu = (cpu < (NR_CPUS-1) ? cpu + 1 : 0); | 55 | cpu = (cpu < (NR_CPUS-1) ? cpu + 1 : 0); |
| 57 | last_cpu = cpu; | 56 | last_cpu = cpu; |
| 58 | 57 | ||
| 59 | irq_affinity[irq] = cpumask_of_cpu(cpu); | 58 | irq_desc[irq].affinity = cpumask_of_cpu(cpu); |
| 60 | irq_desc[irq].handler->set_affinity(irq, cpumask_of_cpu(cpu)); | 59 | irq_desc[irq].chip->set_affinity(irq, cpumask_of_cpu(cpu)); |
| 61 | return 0; | 60 | return 0; |
| 62 | } | 61 | } |
| 63 | #endif /* CONFIG_SMP */ | 62 | #endif /* CONFIG_SMP */ |
| @@ -93,14 +92,14 @@ show_interrupts(struct seq_file *p, void *v) | |||
| 93 | for_each_online_cpu(j) | 92 | for_each_online_cpu(j) |
| 94 | seq_printf(p, "%10u ", kstat_cpu(j).irqs[irq]); | 93 | seq_printf(p, "%10u ", kstat_cpu(j).irqs[irq]); |
| 95 | #endif | 94 | #endif |
| 96 | seq_printf(p, " %14s", irq_desc[irq].handler->typename); | 95 | seq_printf(p, " %14s", irq_desc[irq].chip->typename); |
| 97 | seq_printf(p, " %c%s", | 96 | seq_printf(p, " %c%s", |
| 98 | (action->flags & SA_INTERRUPT)?'+':' ', | 97 | (action->flags & IRQF_DISABLED)?'+':' ', |
| 99 | action->name); | 98 | action->name); |
| 100 | 99 | ||
| 101 | for (action=action->next; action; action = action->next) { | 100 | for (action=action->next; action; action = action->next) { |
| 102 | seq_printf(p, ", %c%s", | 101 | seq_printf(p, ", %c%s", |
| 103 | (action->flags & SA_INTERRUPT)?'+':' ', | 102 | (action->flags & IRQF_DISABLED)?'+':' ', |
| 104 | action->name); | 103 | action->name); |
| 105 | } | 104 | } |
| 106 | 105 | ||
diff --git a/arch/alpha/kernel/irq_alpha.c b/arch/alpha/kernel/irq_alpha.c index 9d34ce26e5ef..ddf5cf8dcb0b 100644 --- a/arch/alpha/kernel/irq_alpha.c +++ b/arch/alpha/kernel/irq_alpha.c | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | * Alpha specific irq code. | 2 | * Alpha specific irq code. |
| 3 | */ | 3 | */ |
| 4 | 4 | ||
| 5 | #include <linux/config.h> | ||
| 6 | #include <linux/init.h> | 5 | #include <linux/init.h> |
| 7 | #include <linux/sched.h> | 6 | #include <linux/sched.h> |
| 8 | #include <linux/irq.h> | 7 | #include <linux/irq.h> |
| @@ -215,7 +214,7 @@ static unsigned int rtc_startup(unsigned int irq) { return 0; } | |||
| 215 | 214 | ||
| 216 | struct irqaction timer_irqaction = { | 215 | struct irqaction timer_irqaction = { |
| 217 | .handler = timer_interrupt, | 216 | .handler = timer_interrupt, |
| 218 | .flags = SA_INTERRUPT, | 217 | .flags = IRQF_DISABLED, |
| 219 | .name = "timer", | 218 | .name = "timer", |
| 220 | }; | 219 | }; |
| 221 | 220 | ||
| @@ -233,7 +232,7 @@ void __init | |||
| 233 | init_rtc_irq(void) | 232 | init_rtc_irq(void) |
| 234 | { | 233 | { |
| 235 | irq_desc[RTC_IRQ].status = IRQ_DISABLED; | 234 | irq_desc[RTC_IRQ].status = IRQ_DISABLED; |
| 236 | irq_desc[RTC_IRQ].handler = &rtc_irq_type; | 235 | irq_desc[RTC_IRQ].chip = &rtc_irq_type; |
| 237 | setup_irq(RTC_IRQ, &timer_irqaction); | 236 | setup_irq(RTC_IRQ, &timer_irqaction); |
| 238 | } | 237 | } |
| 239 | 238 | ||
diff --git a/arch/alpha/kernel/irq_i8259.c b/arch/alpha/kernel/irq_i8259.c index b188683b83fd..ebbadbc0c36a 100644 --- a/arch/alpha/kernel/irq_i8259.c +++ b/arch/alpha/kernel/irq_i8259.c | |||
| @@ -7,7 +7,6 @@ | |||
| 7 | * Started hacking from linux-2.3.30pre6/arch/i386/kernel/i8259.c. | 7 | * Started hacking from linux-2.3.30pre6/arch/i386/kernel/i8259.c. |
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | #include <linux/config.h> | ||
| 11 | #include <linux/init.h> | 10 | #include <linux/init.h> |
| 12 | #include <linux/cache.h> | 11 | #include <linux/cache.h> |
| 13 | #include <linux/sched.h> | 12 | #include <linux/sched.h> |
| @@ -109,7 +108,7 @@ init_i8259a_irqs(void) | |||
| 109 | 108 | ||
| 110 | for (i = 0; i < 16; i++) { | 109 | for (i = 0; i < 16; i++) { |
| 111 | irq_desc[i].status = IRQ_DISABLED; | 110 | irq_desc[i].status = IRQ_DISABLED; |
| 112 | irq_desc[i].handler = &i8259a_irq_type; | 111 | irq_desc[i].chip = &i8259a_irq_type; |
| 113 | } | 112 | } |
| 114 | 113 | ||
| 115 | setup_irq(2, &cascade); | 114 | setup_irq(2, &cascade); |
diff --git a/arch/alpha/kernel/irq_pyxis.c b/arch/alpha/kernel/irq_pyxis.c index 146a20b9e3d5..3b581415bab0 100644 --- a/arch/alpha/kernel/irq_pyxis.c +++ b/arch/alpha/kernel/irq_pyxis.c | |||
| @@ -120,7 +120,7 @@ init_pyxis_irqs(unsigned long ignore_mask) | |||
| 120 | if ((ignore_mask >> i) & 1) | 120 | if ((ignore_mask >> i) & 1) |
| 121 | continue; | 121 | continue; |
| 122 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; | 122 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; |
| 123 | irq_desc[i].handler = &pyxis_irq_type; | 123 | irq_desc[i].chip = &pyxis_irq_type; |
| 124 | } | 124 | } |
| 125 | 125 | ||
| 126 | setup_irq(16+7, &isa_cascade_irqaction); | 126 | setup_irq(16+7, &isa_cascade_irqaction); |
diff --git a/arch/alpha/kernel/irq_srm.c b/arch/alpha/kernel/irq_srm.c index 0a87e466918c..8e4d121f84cc 100644 --- a/arch/alpha/kernel/irq_srm.c +++ b/arch/alpha/kernel/irq_srm.c | |||
| @@ -67,7 +67,7 @@ init_srm_irqs(long max, unsigned long ignore_mask) | |||
| 67 | if (i < 64 && ((ignore_mask >> i) & 1)) | 67 | if (i < 64 && ((ignore_mask >> i) & 1)) |
| 68 | continue; | 68 | continue; |
| 69 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; | 69 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; |
| 70 | irq_desc[i].handler = &srm_irq_type; | 70 | irq_desc[i].chip = &srm_irq_type; |
| 71 | } | 71 | } |
| 72 | } | 72 | } |
| 73 | 73 | ||
diff --git a/arch/alpha/kernel/machvec_impl.h b/arch/alpha/kernel/machvec_impl.h index 11f996f24fde..08b8302e64ca 100644 --- a/arch/alpha/kernel/machvec_impl.h +++ b/arch/alpha/kernel/machvec_impl.h | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | * This file has goodies to help simplify instantiation of machine vectors. | 6 | * This file has goodies to help simplify instantiation of machine vectors. |
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | #include <linux/config.h> | ||
| 10 | #include <asm/pgalloc.h> | 9 | #include <asm/pgalloc.h> |
| 11 | 10 | ||
| 12 | /* Whee. These systems don't have an HAE: | 11 | /* Whee. These systems don't have an HAE: |
diff --git a/arch/alpha/kernel/pci.c b/arch/alpha/kernel/pci.c index 2a8b364c822e..ffb7d5423cc0 100644 --- a/arch/alpha/kernel/pci.c +++ b/arch/alpha/kernel/pci.c | |||
| @@ -12,7 +12,6 @@ | |||
| 12 | * Nov 2000, Ivan Kokshaysky <ink@jurassic.park.msu.ru> | 12 | * Nov 2000, Ivan Kokshaysky <ink@jurassic.park.msu.ru> |
| 13 | * PCI-PCI bridges cleanup | 13 | * PCI-PCI bridges cleanup |
| 14 | */ | 14 | */ |
| 15 | #include <linux/config.h> | ||
| 16 | #include <linux/string.h> | 15 | #include <linux/string.h> |
| 17 | #include <linux/pci.h> | 16 | #include <linux/pci.h> |
| 18 | #include <linux/init.h> | 17 | #include <linux/init.h> |
| @@ -124,12 +123,12 @@ DECLARE_PCI_FIXUP_FINAL(PCI_ANY_ID, PCI_ANY_ID, pcibios_fixup_final); | |||
| 124 | 123 | ||
| 125 | void | 124 | void |
| 126 | pcibios_align_resource(void *data, struct resource *res, | 125 | pcibios_align_resource(void *data, struct resource *res, |
| 127 | unsigned long size, unsigned long align) | 126 | resource_size_t size, resource_size_t align) |
| 128 | { | 127 | { |
| 129 | struct pci_dev *dev = data; | 128 | struct pci_dev *dev = data; |
| 130 | struct pci_controller *hose = dev->sysdata; | 129 | struct pci_controller *hose = dev->sysdata; |
| 131 | unsigned long alignto; | 130 | unsigned long alignto; |
| 132 | unsigned long start = res->start; | 131 | resource_size_t start = res->start; |
| 133 | 132 | ||
| 134 | if (res->flags & IORESOURCE_IO) { | 133 | if (res->flags & IORESOURCE_IO) { |
| 135 | /* Make sure we start at our min on all hoses */ | 134 | /* Make sure we start at our min on all hoses */ |
diff --git a/arch/alpha/kernel/process.c b/arch/alpha/kernel/process.c index c760a831fd1a..01c8c8b23337 100644 --- a/arch/alpha/kernel/process.c +++ b/arch/alpha/kernel/process.c | |||
| @@ -8,7 +8,6 @@ | |||
| 8 | * This file handles the architecture-dependent parts of process handling. | 8 | * This file handles the architecture-dependent parts of process handling. |
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | #include <linux/config.h> | ||
| 12 | #include <linux/errno.h> | 11 | #include <linux/errno.h> |
| 13 | #include <linux/module.h> | 12 | #include <linux/module.h> |
| 14 | #include <linux/sched.h> | 13 | #include <linux/sched.h> |
diff --git a/arch/alpha/kernel/proto.h b/arch/alpha/kernel/proto.h index e1560fb15610..2a6e3da8144f 100644 --- a/arch/alpha/kernel/proto.h +++ b/arch/alpha/kernel/proto.h | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | #include <linux/config.h> | ||
| 2 | #include <linux/interrupt.h> | 1 | #include <linux/interrupt.h> |
| 3 | 2 | ||
| 4 | 3 | ||
diff --git a/arch/alpha/kernel/smc37c93x.c b/arch/alpha/kernel/smc37c93x.c index 421e51ea6bb7..2636cc028d06 100644 --- a/arch/alpha/kernel/smc37c93x.c +++ b/arch/alpha/kernel/smc37c93x.c | |||
| @@ -2,7 +2,6 @@ | |||
| 2 | * SMC 37C93X initialization code | 2 | * SMC 37C93X initialization code |
| 3 | */ | 3 | */ |
| 4 | 4 | ||
| 5 | #include <linux/config.h> | ||
| 6 | #include <linux/kernel.h> | 5 | #include <linux/kernel.h> |
| 7 | 6 | ||
| 8 | #include <linux/slab.h> | 7 | #include <linux/slab.h> |
diff --git a/arch/alpha/kernel/srm_env.c b/arch/alpha/kernel/srm_env.c index 5c98fc83e238..990ac61028f8 100644 --- a/arch/alpha/kernel/srm_env.c +++ b/arch/alpha/kernel/srm_env.c | |||
| @@ -57,7 +57,6 @@ | |||
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #include <linux/kernel.h> | 59 | #include <linux/kernel.h> |
| 60 | #include <linux/config.h> | ||
| 61 | #include <linux/module.h> | 60 | #include <linux/module.h> |
| 62 | #include <linux/init.h> | 61 | #include <linux/init.h> |
| 63 | #include <linux/proc_fs.h> | 62 | #include <linux/proc_fs.h> |
diff --git a/arch/alpha/kernel/srmcons.c b/arch/alpha/kernel/srmcons.c index 3b30d4f1fc42..9d7dff27f815 100644 --- a/arch/alpha/kernel/srmcons.c +++ b/arch/alpha/kernel/srmcons.c | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | * (TTY driver and console driver) | 5 | * (TTY driver and console driver) |
| 6 | */ | 6 | */ |
| 7 | 7 | ||
| 8 | #include <linux/config.h> | ||
| 9 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
| 10 | #include <linux/init.h> | 9 | #include <linux/init.h> |
| 11 | #include <linux/console.h> | 10 | #include <linux/console.h> |
diff --git a/arch/alpha/kernel/sys_alcor.c b/arch/alpha/kernel/sys_alcor.c index d7f0e97fe56f..d6926b7b1e99 100644 --- a/arch/alpha/kernel/sys_alcor.c +++ b/arch/alpha/kernel/sys_alcor.c | |||
| @@ -8,7 +8,6 @@ | |||
| 8 | * Code supporting the ALCOR and XLT (XL-300/366/433). | 8 | * Code supporting the ALCOR and XLT (XL-300/366/433). |
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | #include <linux/config.h> | ||
| 12 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
| 13 | #include <linux/types.h> | 12 | #include <linux/types.h> |
| 14 | #include <linux/mm.h> | 13 | #include <linux/mm.h> |
| @@ -144,7 +143,7 @@ alcor_init_irq(void) | |||
| 144 | if (i >= 16+20 && i <= 16+30) | 143 | if (i >= 16+20 && i <= 16+30) |
| 145 | continue; | 144 | continue; |
| 146 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; | 145 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; |
| 147 | irq_desc[i].handler = &alcor_irq_type; | 146 | irq_desc[i].chip = &alcor_irq_type; |
| 148 | } | 147 | } |
| 149 | i8259a_irq_type.ack = alcor_isa_mask_and_ack_irq; | 148 | i8259a_irq_type.ack = alcor_isa_mask_and_ack_irq; |
| 150 | 149 | ||
diff --git a/arch/alpha/kernel/sys_cabriolet.c b/arch/alpha/kernel/sys_cabriolet.c index 8e3374d34c95..25a215067da8 100644 --- a/arch/alpha/kernel/sys_cabriolet.c +++ b/arch/alpha/kernel/sys_cabriolet.c | |||
| @@ -9,7 +9,6 @@ | |||
| 9 | * PC164 and LX164. | 9 | * PC164 and LX164. |
| 10 | */ | 10 | */ |
| 11 | 11 | ||
| 12 | #include <linux/config.h> | ||
| 13 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
| 14 | #include <linux/types.h> | 13 | #include <linux/types.h> |
| 15 | #include <linux/mm.h> | 14 | #include <linux/mm.h> |
| @@ -124,7 +123,7 @@ common_init_irq(void (*srm_dev_int)(unsigned long v, struct pt_regs *r)) | |||
| 124 | 123 | ||
| 125 | for (i = 16; i < 35; ++i) { | 124 | for (i = 16; i < 35; ++i) { |
| 126 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; | 125 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; |
| 127 | irq_desc[i].handler = &cabriolet_irq_type; | 126 | irq_desc[i].chip = &cabriolet_irq_type; |
| 128 | } | 127 | } |
| 129 | } | 128 | } |
| 130 | 129 | ||
diff --git a/arch/alpha/kernel/sys_dp264.c b/arch/alpha/kernel/sys_dp264.c index d5da6b1b28ee..dd6103b867e7 100644 --- a/arch/alpha/kernel/sys_dp264.c +++ b/arch/alpha/kernel/sys_dp264.c | |||
| @@ -12,7 +12,6 @@ | |||
| 12 | * Code supporting the DP264 (EV6+TSUNAMI). | 12 | * Code supporting the DP264 (EV6+TSUNAMI). |
| 13 | */ | 13 | */ |
| 14 | 14 | ||
| 15 | #include <linux/config.h> | ||
| 16 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
| 17 | #include <linux/types.h> | 16 | #include <linux/types.h> |
| 18 | #include <linux/mm.h> | 17 | #include <linux/mm.h> |
| @@ -300,7 +299,7 @@ init_tsunami_irqs(struct hw_interrupt_type * ops, int imin, int imax) | |||
| 300 | long i; | 299 | long i; |
| 301 | for (i = imin; i <= imax; ++i) { | 300 | for (i = imin; i <= imax; ++i) { |
| 302 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; | 301 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; |
| 303 | irq_desc[i].handler = ops; | 302 | irq_desc[i].chip = ops; |
| 304 | } | 303 | } |
| 305 | } | 304 | } |
| 306 | 305 | ||
diff --git a/arch/alpha/kernel/sys_eb64p.c b/arch/alpha/kernel/sys_eb64p.c index 61a79c354f0b..ed108b66ec09 100644 --- a/arch/alpha/kernel/sys_eb64p.c +++ b/arch/alpha/kernel/sys_eb64p.c | |||
| @@ -8,7 +8,6 @@ | |||
| 8 | * Code supporting the EB64+ and EB66. | 8 | * Code supporting the EB64+ and EB66. |
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | #include <linux/config.h> | ||
| 12 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
| 13 | #include <linux/types.h> | 12 | #include <linux/types.h> |
| 14 | #include <linux/mm.h> | 13 | #include <linux/mm.h> |
| @@ -137,7 +136,7 @@ eb64p_init_irq(void) | |||
| 137 | 136 | ||
| 138 | for (i = 16; i < 32; ++i) { | 137 | for (i = 16; i < 32; ++i) { |
| 139 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; | 138 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; |
| 140 | irq_desc[i].handler = &eb64p_irq_type; | 139 | irq_desc[i].chip = &eb64p_irq_type; |
| 141 | } | 140 | } |
| 142 | 141 | ||
| 143 | common_init_isa_dma(); | 142 | common_init_isa_dma(); |
diff --git a/arch/alpha/kernel/sys_eiger.c b/arch/alpha/kernel/sys_eiger.c index bd6e5f0e43c7..64a785baf53a 100644 --- a/arch/alpha/kernel/sys_eiger.c +++ b/arch/alpha/kernel/sys_eiger.c | |||
| @@ -154,7 +154,7 @@ eiger_init_irq(void) | |||
| 154 | 154 | ||
| 155 | for (i = 16; i < 128; ++i) { | 155 | for (i = 16; i < 128; ++i) { |
| 156 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; | 156 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; |
| 157 | irq_desc[i].handler = &eiger_irq_type; | 157 | irq_desc[i].chip = &eiger_irq_type; |
| 158 | } | 158 | } |
| 159 | } | 159 | } |
| 160 | 160 | ||
diff --git a/arch/alpha/kernel/sys_jensen.c b/arch/alpha/kernel/sys_jensen.c index fcabb7c96a16..4ac2b328b8de 100644 --- a/arch/alpha/kernel/sys_jensen.c +++ b/arch/alpha/kernel/sys_jensen.c | |||
| @@ -74,7 +74,7 @@ jensen_local_startup(unsigned int irq) | |||
| 74 | * the IPL from being dropped during handler processing. | 74 | * the IPL from being dropped during handler processing. |
| 75 | */ | 75 | */ |
| 76 | if (irq_desc[irq].action) | 76 | if (irq_desc[irq].action) |
| 77 | irq_desc[irq].action->flags |= SA_INTERRUPT; | 77 | irq_desc[irq].action->flags |= IRQF_DISABLED; |
| 78 | return 0; | 78 | return 0; |
| 79 | } | 79 | } |
| 80 | 80 | ||
| @@ -206,11 +206,11 @@ jensen_init_irq(void) | |||
| 206 | { | 206 | { |
| 207 | init_i8259a_irqs(); | 207 | init_i8259a_irqs(); |
| 208 | 208 | ||
| 209 | irq_desc[1].handler = &jensen_local_irq_type; | 209 | irq_desc[1].chip = &jensen_local_irq_type; |
| 210 | irq_desc[4].handler = &jensen_local_irq_type; | 210 | irq_desc[4].chip = &jensen_local_irq_type; |
| 211 | irq_desc[3].handler = &jensen_local_irq_type; | 211 | irq_desc[3].chip = &jensen_local_irq_type; |
| 212 | irq_desc[7].handler = &jensen_local_irq_type; | 212 | irq_desc[7].chip = &jensen_local_irq_type; |
| 213 | irq_desc[9].handler = &jensen_local_irq_type; | 213 | irq_desc[9].chip = &jensen_local_irq_type; |
| 214 | 214 | ||
| 215 | common_init_isa_dma(); | 215 | common_init_isa_dma(); |
| 216 | } | 216 | } |
diff --git a/arch/alpha/kernel/sys_marvel.c b/arch/alpha/kernel/sys_marvel.c index e32fee505220..36d215954376 100644 --- a/arch/alpha/kernel/sys_marvel.c +++ b/arch/alpha/kernel/sys_marvel.c | |||
| @@ -303,7 +303,7 @@ init_io7_irqs(struct io7 *io7, | |||
| 303 | /* Set up the lsi irqs. */ | 303 | /* Set up the lsi irqs. */ |
| 304 | for (i = 0; i < 128; ++i) { | 304 | for (i = 0; i < 128; ++i) { |
| 305 | irq_desc[base + i].status = IRQ_DISABLED | IRQ_LEVEL; | 305 | irq_desc[base + i].status = IRQ_DISABLED | IRQ_LEVEL; |
| 306 | irq_desc[base + i].handler = lsi_ops; | 306 | irq_desc[base + i].chip = lsi_ops; |
| 307 | } | 307 | } |
| 308 | 308 | ||
| 309 | /* Disable the implemented irqs in hardware. */ | 309 | /* Disable the implemented irqs in hardware. */ |
| @@ -317,7 +317,7 @@ init_io7_irqs(struct io7 *io7, | |||
| 317 | /* Set up the msi irqs. */ | 317 | /* Set up the msi irqs. */ |
| 318 | for (i = 128; i < (128 + 512); ++i) { | 318 | for (i = 128; i < (128 + 512); ++i) { |
| 319 | irq_desc[base + i].status = IRQ_DISABLED | IRQ_LEVEL; | 319 | irq_desc[base + i].status = IRQ_DISABLED | IRQ_LEVEL; |
| 320 | irq_desc[base + i].handler = msi_ops; | 320 | irq_desc[base + i].chip = msi_ops; |
| 321 | } | 321 | } |
| 322 | 322 | ||
| 323 | for (i = 0; i < 16; ++i) | 323 | for (i = 0; i < 16; ++i) |
| @@ -335,7 +335,7 @@ marvel_init_irq(void) | |||
| 335 | /* Reserve the legacy irqs. */ | 335 | /* Reserve the legacy irqs. */ |
| 336 | for (i = 0; i < 16; ++i) { | 336 | for (i = 0; i < 16; ++i) { |
| 337 | irq_desc[i].status = IRQ_DISABLED; | 337 | irq_desc[i].status = IRQ_DISABLED; |
| 338 | irq_desc[i].handler = &marvel_legacy_irq_type; | 338 | irq_desc[i].chip = &marvel_legacy_irq_type; |
| 339 | } | 339 | } |
| 340 | 340 | ||
| 341 | /* Init the io7 irqs. */ | 341 | /* Init the io7 irqs. */ |
diff --git a/arch/alpha/kernel/sys_mikasa.c b/arch/alpha/kernel/sys_mikasa.c index d78a0daa6168..cc4c58111366 100644 --- a/arch/alpha/kernel/sys_mikasa.c +++ b/arch/alpha/kernel/sys_mikasa.c | |||
| @@ -8,7 +8,6 @@ | |||
| 8 | * Code supporting the MIKASA (AlphaServer 1000). | 8 | * Code supporting the MIKASA (AlphaServer 1000). |
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | #include <linux/config.h> | ||
| 12 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
| 13 | #include <linux/types.h> | 12 | #include <linux/types.h> |
| 14 | #include <linux/mm.h> | 13 | #include <linux/mm.h> |
| @@ -117,7 +116,7 @@ mikasa_init_irq(void) | |||
| 117 | 116 | ||
| 118 | for (i = 16; i < 32; ++i) { | 117 | for (i = 16; i < 32; ++i) { |
| 119 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; | 118 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; |
| 120 | irq_desc[i].handler = &mikasa_irq_type; | 119 | irq_desc[i].chip = &mikasa_irq_type; |
| 121 | } | 120 | } |
| 122 | 121 | ||
| 123 | init_i8259a_irqs(); | 122 | init_i8259a_irqs(); |
diff --git a/arch/alpha/kernel/sys_noritake.c b/arch/alpha/kernel/sys_noritake.c index 65061f5d7410..2d3cff7e8c5f 100644 --- a/arch/alpha/kernel/sys_noritake.c +++ b/arch/alpha/kernel/sys_noritake.c | |||
| @@ -9,7 +9,6 @@ | |||
| 9 | * CORELLE (AlphaServer 800), and ALCOR Primo (AlphaStation 600A). | 9 | * CORELLE (AlphaServer 800), and ALCOR Primo (AlphaStation 600A). |
| 10 | */ | 10 | */ |
| 11 | 11 | ||
| 12 | #include <linux/config.h> | ||
| 13 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
| 14 | #include <linux/types.h> | 13 | #include <linux/types.h> |
| 15 | #include <linux/mm.h> | 14 | #include <linux/mm.h> |
| @@ -139,7 +138,7 @@ noritake_init_irq(void) | |||
| 139 | 138 | ||
| 140 | for (i = 16; i < 48; ++i) { | 139 | for (i = 16; i < 48; ++i) { |
| 141 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; | 140 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; |
| 142 | irq_desc[i].handler = &noritake_irq_type; | 141 | irq_desc[i].chip = &noritake_irq_type; |
| 143 | } | 142 | } |
| 144 | 143 | ||
| 145 | init_i8259a_irqs(); | 144 | init_i8259a_irqs(); |
diff --git a/arch/alpha/kernel/sys_rawhide.c b/arch/alpha/kernel/sys_rawhide.c index 05888a02a604..949607e3d6fb 100644 --- a/arch/alpha/kernel/sys_rawhide.c +++ b/arch/alpha/kernel/sys_rawhide.c | |||
| @@ -180,7 +180,7 @@ rawhide_init_irq(void) | |||
| 180 | 180 | ||
| 181 | for (i = 16; i < 128; ++i) { | 181 | for (i = 16; i < 128; ++i) { |
| 182 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; | 182 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; |
| 183 | irq_desc[i].handler = &rawhide_irq_type; | 183 | irq_desc[i].chip = &rawhide_irq_type; |
| 184 | } | 184 | } |
| 185 | 185 | ||
| 186 | init_i8259a_irqs(); | 186 | init_i8259a_irqs(); |
diff --git a/arch/alpha/kernel/sys_rx164.c b/arch/alpha/kernel/sys_rx164.c index 58404243057b..6ae506052635 100644 --- a/arch/alpha/kernel/sys_rx164.c +++ b/arch/alpha/kernel/sys_rx164.c | |||
| @@ -117,7 +117,7 @@ rx164_init_irq(void) | |||
| 117 | rx164_update_irq_hw(0); | 117 | rx164_update_irq_hw(0); |
| 118 | for (i = 16; i < 40; ++i) { | 118 | for (i = 16; i < 40; ++i) { |
| 119 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; | 119 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; |
| 120 | irq_desc[i].handler = &rx164_irq_type; | 120 | irq_desc[i].chip = &rx164_irq_type; |
| 121 | } | 121 | } |
| 122 | 122 | ||
| 123 | init_i8259a_irqs(); | 123 | init_i8259a_irqs(); |
diff --git a/arch/alpha/kernel/sys_sable.c b/arch/alpha/kernel/sys_sable.c index a7ff84474ace..a7a14647b50e 100644 --- a/arch/alpha/kernel/sys_sable.c +++ b/arch/alpha/kernel/sys_sable.c | |||
| @@ -8,7 +8,6 @@ | |||
| 8 | * Code supporting the Sable, Sable-Gamma, and Lynx systems. | 8 | * Code supporting the Sable, Sable-Gamma, and Lynx systems. |
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | #include <linux/config.h> | ||
| 12 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
| 13 | #include <linux/types.h> | 12 | #include <linux/types.h> |
| 14 | #include <linux/mm.h> | 13 | #include <linux/mm.h> |
| @@ -537,7 +536,7 @@ sable_lynx_init_irq(int nr_irqs) | |||
| 537 | 536 | ||
| 538 | for (i = 0; i < nr_irqs; ++i) { | 537 | for (i = 0; i < nr_irqs; ++i) { |
| 539 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; | 538 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; |
| 540 | irq_desc[i].handler = &sable_lynx_irq_type; | 539 | irq_desc[i].chip = &sable_lynx_irq_type; |
| 541 | } | 540 | } |
| 542 | 541 | ||
| 543 | common_init_isa_dma(); | 542 | common_init_isa_dma(); |
diff --git a/arch/alpha/kernel/sys_sio.c b/arch/alpha/kernel/sys_sio.c index 131a2d9f79d3..cd85ef725e0e 100644 --- a/arch/alpha/kernel/sys_sio.c +++ b/arch/alpha/kernel/sys_sio.c | |||
| @@ -10,7 +10,6 @@ | |||
| 10 | * Kenetics's Platform 2000, Avanti (AlphaStation), XL, and AlphaBook1. | 10 | * Kenetics's Platform 2000, Avanti (AlphaStation), XL, and AlphaBook1. |
| 11 | */ | 11 | */ |
| 12 | 12 | ||
| 13 | #include <linux/config.h> | ||
| 14 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
| 15 | #include <linux/types.h> | 14 | #include <linux/types.h> |
| 16 | #include <linux/mm.h> | 15 | #include <linux/mm.h> |
diff --git a/arch/alpha/kernel/sys_takara.c b/arch/alpha/kernel/sys_takara.c index 7955bdfc2db0..2c75cd1fd81a 100644 --- a/arch/alpha/kernel/sys_takara.c +++ b/arch/alpha/kernel/sys_takara.c | |||
| @@ -154,7 +154,7 @@ takara_init_irq(void) | |||
| 154 | 154 | ||
| 155 | for (i = 16; i < 128; ++i) { | 155 | for (i = 16; i < 128; ++i) { |
| 156 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; | 156 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; |
| 157 | irq_desc[i].handler = &takara_irq_type; | 157 | irq_desc[i].chip = &takara_irq_type; |
| 158 | } | 158 | } |
| 159 | 159 | ||
| 160 | common_init_isa_dma(); | 160 | common_init_isa_dma(); |
diff --git a/arch/alpha/kernel/sys_titan.c b/arch/alpha/kernel/sys_titan.c index 2551fb49ae09..302aab38d95f 100644 --- a/arch/alpha/kernel/sys_titan.c +++ b/arch/alpha/kernel/sys_titan.c | |||
| @@ -12,7 +12,6 @@ | |||
| 12 | * Granite | 12 | * Granite |
| 13 | */ | 13 | */ |
| 14 | 14 | ||
| 15 | #include <linux/config.h> | ||
| 16 | #include <linux/kernel.h> | 15 | #include <linux/kernel.h> |
| 17 | #include <linux/types.h> | 16 | #include <linux/types.h> |
| 18 | #include <linux/mm.h> | 17 | #include <linux/mm.h> |
| @@ -189,7 +188,7 @@ init_titan_irqs(struct hw_interrupt_type * ops, int imin, int imax) | |||
| 189 | long i; | 188 | long i; |
| 190 | for (i = imin; i <= imax; ++i) { | 189 | for (i = imin; i <= imax; ++i) { |
| 191 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; | 190 | irq_desc[i].status = IRQ_DISABLED | IRQ_LEVEL; |
| 192 | irq_desc[i].handler = ops; | 191 | irq_desc[i].chip = ops; |
| 193 | } | 192 | } |
| 194 | } | 193 | } |
| 195 | 194 | ||
| @@ -280,15 +279,15 @@ titan_late_init(void) | |||
| 280 | * all reported to the kernel as machine checks, so the handler | 279 | * all reported to the kernel as machine checks, so the handler |
| 281 | * is a nop so it can be called to count the individual events. | 280 | * is a nop so it can be called to count the individual events. |
| 282 | */ | 281 | */ |
| 283 | request_irq(63+16, titan_intr_nop, SA_INTERRUPT, | 282 | request_irq(63+16, titan_intr_nop, IRQF_DISABLED, |
| 284 | "CChip Error", NULL); | 283 | "CChip Error", NULL); |
| 285 | request_irq(62+16, titan_intr_nop, SA_INTERRUPT, | 284 | request_irq(62+16, titan_intr_nop, IRQF_DISABLED, |
| 286 | "PChip 0 H_Error", NULL); | 285 | "PChip 0 H_Error", NULL); |
| 287 | request_irq(61+16, titan_intr_nop, SA_INTERRUPT, | 286 | request_irq(61+16, titan_intr_nop, IRQF_DISABLED, |
| 288 | "PChip 1 H_Error", NULL); | 287 | "PChip 1 H_Error", NULL); |
| 289 | request_irq(60+16, titan_intr_nop, SA_INTERRUPT, | 288 | request_irq(60+16, titan_intr_nop, IRQF_DISABLED, |
| 290 | "PChip 0 C_Error", NULL); | 289 | "PChip 0 C_Error", NULL); |
| 291 | request_irq(59+16, titan_intr_nop, SA_INTERRUPT, | 290 | request_irq(59+16, titan_intr_nop, IRQF_DISABLED, |
| 292 | "PChip 1 C_Error", NULL); | 291 | "PChip 1 C_Error", NULL); |
| 293 | 292 | ||
| 294 | /* | 293 | /* |
| @@ -349,9 +348,9 @@ privateer_init_pci(void) | |||
| 349 | * Hook a couple of extra err interrupts that the | 348 | * Hook a couple of extra err interrupts that the |
| 350 | * common titan code won't. | 349 | * common titan code won't. |
| 351 | */ | 350 | */ |
| 352 | request_irq(53+16, titan_intr_nop, SA_INTERRUPT, | 351 | request_irq(53+16, titan_intr_nop, IRQF_DISABLED, |
| 353 | "NMI", NULL); | 352 | "NMI", NULL); |
| 354 | request_irq(50+16, titan_intr_nop, SA_INTERRUPT, | 353 | request_irq(50+16, titan_intr_nop, IRQF_DISABLED, |
| 355 | "Temperature Warning", NULL); | 354 | "Temperature Warning", NULL); |
| 356 | 355 | ||
| 357 | /* | 356 | /* |
diff --git a/arch/alpha/kernel/sys_wildfire.c b/arch/alpha/kernel/sys_wildfire.c index 1553f470246e..22c5798fe083 100644 --- a/arch/alpha/kernel/sys_wildfire.c +++ b/arch/alpha/kernel/sys_wildfire.c | |||
| @@ -199,14 +199,14 @@ wildfire_init_irq_per_pca(int qbbno, int pcano) | |||
| 199 | if (i == 2) | 199 | if (i == 2) |
| 200 | continue; | 200 | continue; |
| 201 | irq_desc[i+irq_bias].status = IRQ_DISABLED | IRQ_LEVEL; | 201 | irq_desc[i+irq_bias].status = IRQ_DISABLED | IRQ_LEVEL; |
| 202 | irq_desc[i+irq_bias].handler = &wildfire_irq_type; | 202 | irq_desc[i+irq_bias].chip = &wildfire_irq_type; |
| 203 | } | 203 | } |
| 204 | 204 | ||
| 205 | irq_desc[36+irq_bias].status = IRQ_DISABLED | IRQ_LEVEL; | 205 | irq_desc[36+irq_bias].status = IRQ_DISABLED | IRQ_LEVEL; |
| 206 | irq_desc[36+irq_bias].handler = &wildfire_irq_type; | 206 | irq_desc[36+irq_bias].chip = &wildfire_irq_type; |
| 207 | for (i = 40; i < 64; ++i) { | 207 | for (i = 40; i < 64; ++i) { |
| 208 | irq_desc[i+irq_bias].status = IRQ_DISABLED | IRQ_LEVEL; | 208 | irq_desc[i+irq_bias].status = IRQ_DISABLED | IRQ_LEVEL; |
| 209 | irq_desc[i+irq_bias].handler = &wildfire_irq_type; | 209 | irq_desc[i+irq_bias].chip = &wildfire_irq_type; |
| 210 | } | 210 | } |
| 211 | 211 | ||
| 212 | setup_irq(32+irq_bias, &isa_enable); | 212 | setup_irq(32+irq_bias, &isa_enable); |
diff --git a/arch/alpha/kernel/time.c b/arch/alpha/kernel/time.c index 3859749810b4..50eccde2dcd8 100644 --- a/arch/alpha/kernel/time.c +++ b/arch/alpha/kernel/time.c | |||
| @@ -27,7 +27,6 @@ | |||
| 27 | * 2003-06-03 R. Scott Bailey <scott.bailey@eds.com> | 27 | * 2003-06-03 R. Scott Bailey <scott.bailey@eds.com> |
| 28 | * Tighten sanity in time_init from 1% (10,000 PPM) to 250 PPM | 28 | * Tighten sanity in time_init from 1% (10,000 PPM) to 250 PPM |
| 29 | */ | 29 | */ |
| 30 | #include <linux/config.h> | ||
| 31 | #include <linux/errno.h> | 30 | #include <linux/errno.h> |
| 32 | #include <linux/module.h> | 31 | #include <linux/module.h> |
| 33 | #include <linux/sched.h> | 32 | #include <linux/sched.h> |
diff --git a/arch/alpha/kernel/traps.c b/arch/alpha/kernel/traps.c index f9d12319e0fb..d6e665d567bd 100644 --- a/arch/alpha/kernel/traps.c +++ b/arch/alpha/kernel/traps.c | |||
| @@ -8,7 +8,6 @@ | |||
| 8 | * This file initializes the trap entry points | 8 | * This file initializes the trap entry points |
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | #include <linux/config.h> | ||
| 12 | #include <linux/mm.h> | 11 | #include <linux/mm.h> |
| 13 | #include <linux/sched.h> | 12 | #include <linux/sched.h> |
| 14 | #include <linux/tty.h> | 13 | #include <linux/tty.h> |
diff --git a/arch/alpha/kernel/vmlinux.lds.S b/arch/alpha/kernel/vmlinux.lds.S index 0922e0785ddb..71470e9d93ba 100644 --- a/arch/alpha/kernel/vmlinux.lds.S +++ b/arch/alpha/kernel/vmlinux.lds.S | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | #include <linux/config.h> | ||
| 2 | #include <asm-generic/vmlinux.lds.h> | 1 | #include <asm-generic/vmlinux.lds.h> |
| 3 | 2 | ||
| 4 | OUTPUT_FORMAT("elf64-alpha") | 3 | OUTPUT_FORMAT("elf64-alpha") |
