diff options
Diffstat (limited to 'arch/ia64/kernel')
41 files changed, 81 insertions, 80 deletions
diff --git a/arch/ia64/kernel/Makefile b/arch/ia64/kernel/Makefile index 09a0dbc17fb6..0e4553f320bf 100644 --- a/arch/ia64/kernel/Makefile +++ b/arch/ia64/kernel/Makefile | |||
| @@ -29,6 +29,7 @@ obj-$(CONFIG_CPU_FREQ) += cpufreq/ | |||
| 29 | obj-$(CONFIG_IA64_MCA_RECOVERY) += mca_recovery.o | 29 | obj-$(CONFIG_IA64_MCA_RECOVERY) += mca_recovery.o |
| 30 | obj-$(CONFIG_KPROBES) += kprobes.o jprobes.o | 30 | obj-$(CONFIG_KPROBES) += kprobes.o jprobes.o |
| 31 | obj-$(CONFIG_IA64_UNCACHED_ALLOCATOR) += uncached.o | 31 | obj-$(CONFIG_IA64_UNCACHED_ALLOCATOR) += uncached.o |
| 32 | obj-$(CONFIG_AUDIT) += audit.o | ||
| 32 | mca_recovery-y += mca_drv.o mca_drv_asm.o | 33 | mca_recovery-y += mca_drv.o mca_drv_asm.o |
| 33 | 34 | ||
| 34 | # The gate DSO image is built using a special linker script. | 35 | # The gate DSO image is built using a special linker script. |
diff --git a/arch/ia64/kernel/acpi-ext.c b/arch/ia64/kernel/acpi-ext.c index fff82929d225..2a1ef742e223 100644 --- a/arch/ia64/kernel/acpi-ext.c +++ b/arch/ia64/kernel/acpi-ext.c | |||
| @@ -8,7 +8,6 @@ | |||
| 8 | * published by the Free Software Foundation. | 8 | * published by the Free Software Foundation. |
| 9 | */ | 9 | */ |
| 10 | 10 | ||
| 11 | #include <linux/config.h> | ||
| 12 | #include <linux/module.h> | 11 | #include <linux/module.h> |
| 13 | #include <linux/types.h> | 12 | #include <linux/types.h> |
| 14 | #include <linux/acpi.h> | 13 | #include <linux/acpi.h> |
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index ca16d9556bde..ccdef199d915 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
| @@ -32,7 +32,6 @@ | |||
| 32 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | 32 | * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 33 | */ | 33 | */ |
| 34 | 34 | ||
| 35 | #include <linux/config.h> | ||
| 36 | #include <linux/module.h> | 35 | #include <linux/module.h> |
| 37 | #include <linux/init.h> | 36 | #include <linux/init.h> |
| 38 | #include <linux/kernel.h> | 37 | #include <linux/kernel.h> |
diff --git a/arch/ia64/kernel/asm-offsets.c b/arch/ia64/kernel/asm-offsets.c index 16e7b6600ae6..75a2a2c12258 100644 --- a/arch/ia64/kernel/asm-offsets.c +++ b/arch/ia64/kernel/asm-offsets.c | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #define ASM_OFFSETS_C 1 | 7 | #define ASM_OFFSETS_C 1 |
| 8 | #include <linux/config.h> | ||
| 9 | 8 | ||
| 10 | #include <linux/sched.h> | 9 | #include <linux/sched.h> |
| 11 | 10 | ||
diff --git a/arch/ia64/kernel/audit.c b/arch/ia64/kernel/audit.c new file mode 100644 index 000000000000..f2512931ccaf --- /dev/null +++ b/arch/ia64/kernel/audit.c | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | #include <linux/init.h> | ||
| 2 | #include <linux/types.h> | ||
| 3 | #include <linux/audit.h> | ||
| 4 | #include <asm/unistd.h> | ||
| 5 | |||
| 6 | static unsigned dir_class[] = { | ||
| 7 | #include <asm-generic/audit_dir_write.h> | ||
| 8 | ~0U | ||
| 9 | }; | ||
| 10 | |||
| 11 | static unsigned chattr_class[] = { | ||
| 12 | #include <asm-generic/audit_change_attr.h> | ||
| 13 | ~0U | ||
| 14 | }; | ||
| 15 | |||
| 16 | static int __init audit_classes_init(void) | ||
| 17 | { | ||
| 18 | #ifdef CONFIG_IA32_SUPPORT | ||
| 19 | extern __u32 ia32_dir_class[]; | ||
| 20 | extern __u32 ia32_chattr_class[]; | ||
| 21 | audit_register_class(AUDIT_CLASS_DIR_WRITE_32, ia32_dir_class); | ||
| 22 | audit_register_class(AUDIT_CLASS_CHATTR_32, ia32_chattr_class); | ||
| 23 | #endif | ||
| 24 | audit_register_class(AUDIT_CLASS_DIR_WRITE, dir_class); | ||
| 25 | audit_register_class(AUDIT_CLASS_CHATTR, chattr_class); | ||
| 26 | return 0; | ||
| 27 | } | ||
| 28 | |||
| 29 | __initcall(audit_classes_init); | ||
diff --git a/arch/ia64/kernel/cpufreq/acpi-cpufreq.c b/arch/ia64/kernel/cpufreq/acpi-cpufreq.c index 5a1bf815282d..86faf221a070 100644 --- a/arch/ia64/kernel/cpufreq/acpi-cpufreq.c +++ b/arch/ia64/kernel/cpufreq/acpi-cpufreq.c | |||
| @@ -9,7 +9,6 @@ | |||
| 9 | * Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> | 9 | * Venkatesh Pallipadi <venkatesh.pallipadi@intel.com> |
| 10 | */ | 10 | */ |
| 11 | 11 | ||
| 12 | #include <linux/config.h> | ||
| 13 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
| 14 | #include <linux/module.h> | 13 | #include <linux/module.h> |
| 15 | #include <linux/init.h> | 14 | #include <linux/init.h> |
diff --git a/arch/ia64/kernel/efi.c b/arch/ia64/kernel/efi.c index c33d0ba7e300..b13c0555c3ba 100644 --- a/arch/ia64/kernel/efi.c +++ b/arch/ia64/kernel/efi.c | |||
| @@ -20,7 +20,6 @@ | |||
| 20 | * Goutham Rao: <goutham.rao@intel.com> | 20 | * Goutham Rao: <goutham.rao@intel.com> |
| 21 | * Skip non-WB memory and ignore empty memory ranges. | 21 | * Skip non-WB memory and ignore empty memory ranges. |
| 22 | */ | 22 | */ |
| 23 | #include <linux/config.h> | ||
| 24 | #include <linux/module.h> | 23 | #include <linux/module.h> |
| 25 | #include <linux/kernel.h> | 24 | #include <linux/kernel.h> |
| 26 | #include <linux/init.h> | 25 | #include <linux/init.h> |
diff --git a/arch/ia64/kernel/entry.S b/arch/ia64/kernel/entry.S index 32c999f58d12..12701cf32d99 100644 --- a/arch/ia64/kernel/entry.S +++ b/arch/ia64/kernel/entry.S | |||
| @@ -31,7 +31,6 @@ | |||
| 31 | * pNonSys: !pSys | 31 | * pNonSys: !pSys |
| 32 | */ | 32 | */ |
| 33 | 33 | ||
| 34 | #include <linux/config.h> | ||
| 35 | 34 | ||
| 36 | #include <asm/asmmacro.h> | 35 | #include <asm/asmmacro.h> |
| 37 | #include <asm/cache.h> | 36 | #include <asm/cache.h> |
diff --git a/arch/ia64/kernel/entry.h b/arch/ia64/kernel/entry.h index ebc3dfb88826..b83edac02965 100644 --- a/arch/ia64/kernel/entry.h +++ b/arch/ia64/kernel/entry.h | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | #include <linux/config.h> | ||
| 2 | 1 | ||
| 3 | /* | 2 | /* |
| 4 | * Preserved registers that are shared between code in ivt.S and | 3 | * Preserved registers that are shared between code in ivt.S and |
diff --git a/arch/ia64/kernel/gate.S b/arch/ia64/kernel/gate.S index 86064ca98952..3274850cf272 100644 --- a/arch/ia64/kernel/gate.S +++ b/arch/ia64/kernel/gate.S | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | * David Mosberger-Tang <davidm@hpl.hp.com> | 6 | * David Mosberger-Tang <davidm@hpl.hp.com> |
| 7 | */ | 7 | */ |
| 8 | 8 | ||
| 9 | #include <linux/config.h> | ||
| 10 | 9 | ||
| 11 | #include <asm/asmmacro.h> | 10 | #include <asm/asmmacro.h> |
| 12 | #include <asm/errno.h> | 11 | #include <asm/errno.h> |
diff --git a/arch/ia64/kernel/gate.lds.S b/arch/ia64/kernel/gate.lds.S index 7c99e6ec3daf..cc35cddfd4cf 100644 --- a/arch/ia64/kernel/gate.lds.S +++ b/arch/ia64/kernel/gate.lds.S | |||
| @@ -4,7 +4,6 @@ | |||
| 4 | * in one page). This script controls its layout. | 4 | * in one page). This script controls its layout. |
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #include <linux/config.h> | ||
| 8 | 7 | ||
| 9 | #include <asm/system.h> | 8 | #include <asm/system.h> |
| 10 | 9 | ||
diff --git a/arch/ia64/kernel/head.S b/arch/ia64/kernel/head.S index f1778a84ea61..561b8f1d3bc7 100644 --- a/arch/ia64/kernel/head.S +++ b/arch/ia64/kernel/head.S | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | * Support for CPU Hotplug | 19 | * Support for CPU Hotplug |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #include <linux/config.h> | ||
| 23 | 22 | ||
| 24 | #include <asm/asmmacro.h> | 23 | #include <asm/asmmacro.h> |
| 25 | #include <asm/fpu.h> | 24 | #include <asm/fpu.h> |
diff --git a/arch/ia64/kernel/ia64_ksyms.c b/arch/ia64/kernel/ia64_ksyms.c index bbcfd08378a6..b7cf651ceb14 100644 --- a/arch/ia64/kernel/ia64_ksyms.c +++ b/arch/ia64/kernel/ia64_ksyms.c | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | * All other exports should be put directly after the definition. | 5 | * All other exports should be put directly after the definition. |
| 6 | */ | 6 | */ |
| 7 | 7 | ||
| 8 | #include <linux/config.h> | ||
| 9 | #include <linux/module.h> | 8 | #include <linux/module.h> |
| 10 | 9 | ||
| 11 | #include <linux/string.h> | 10 | #include <linux/string.h> |
diff --git a/arch/ia64/kernel/iosapic.c b/arch/ia64/kernel/iosapic.c index d58c1c5c903a..9bf15fefa7e4 100644 --- a/arch/ia64/kernel/iosapic.c +++ b/arch/ia64/kernel/iosapic.c | |||
| @@ -79,7 +79,6 @@ | |||
| 79 | * describeinterrupts. Now we use "IRQ" only for Linux IRQ's. ISA IRQ | 79 | * describeinterrupts. Now we use "IRQ" only for Linux IRQ's. ISA IRQ |
| 80 | * (isa_irq) is the only exception in this source code. | 80 | * (isa_irq) is the only exception in this source code. |
| 81 | */ | 81 | */ |
| 82 | #include <linux/config.h> | ||
| 83 | 82 | ||
| 84 | #include <linux/acpi.h> | 83 | #include <linux/acpi.h> |
| 85 | #include <linux/init.h> | 84 | #include <linux/init.h> |
| @@ -456,7 +455,7 @@ iosapic_startup_edge_irq (unsigned int irq) | |||
| 456 | static void | 455 | static void |
| 457 | iosapic_ack_edge_irq (unsigned int irq) | 456 | iosapic_ack_edge_irq (unsigned int irq) |
| 458 | { | 457 | { |
| 459 | irq_desc_t *idesc = irq_descp(irq); | 458 | irq_desc_t *idesc = irq_desc + irq; |
| 460 | 459 | ||
| 461 | move_native_irq(irq); | 460 | move_native_irq(irq); |
| 462 | /* | 461 | /* |
| @@ -659,14 +658,14 @@ register_intr (unsigned int gsi, int vector, unsigned char delivery, | |||
| 659 | else | 658 | else |
| 660 | irq_type = &irq_type_iosapic_level; | 659 | irq_type = &irq_type_iosapic_level; |
| 661 | 660 | ||
| 662 | idesc = irq_descp(vector); | 661 | idesc = irq_desc + vector; |
| 663 | if (idesc->handler != irq_type) { | 662 | if (idesc->chip != irq_type) { |
| 664 | if (idesc->handler != &no_irq_type) | 663 | if (idesc->chip != &no_irq_type) |
| 665 | printk(KERN_WARNING | 664 | printk(KERN_WARNING |
| 666 | "%s: changing vector %d from %s to %s\n", | 665 | "%s: changing vector %d from %s to %s\n", |
| 667 | __FUNCTION__, vector, | 666 | __FUNCTION__, vector, |
| 668 | idesc->handler->typename, irq_type->typename); | 667 | idesc->chip->typename, irq_type->typename); |
| 669 | idesc->handler = irq_type; | 668 | idesc->chip = irq_type; |
| 670 | } | 669 | } |
| 671 | return 0; | 670 | return 0; |
| 672 | } | 671 | } |
| @@ -793,14 +792,14 @@ again: | |||
| 793 | return -ENOSPC; | 792 | return -ENOSPC; |
| 794 | } | 793 | } |
| 795 | 794 | ||
| 796 | spin_lock_irqsave(&irq_descp(vector)->lock, flags); | 795 | spin_lock_irqsave(&irq_desc[vector].lock, flags); |
| 797 | spin_lock(&iosapic_lock); | 796 | spin_lock(&iosapic_lock); |
| 798 | { | 797 | { |
| 799 | if (gsi_to_vector(gsi) > 0) { | 798 | if (gsi_to_vector(gsi) > 0) { |
| 800 | if (list_empty(&iosapic_intr_info[vector].rtes)) | 799 | if (list_empty(&iosapic_intr_info[vector].rtes)) |
| 801 | free_irq_vector(vector); | 800 | free_irq_vector(vector); |
| 802 | spin_unlock(&iosapic_lock); | 801 | spin_unlock(&iosapic_lock); |
| 803 | spin_unlock_irqrestore(&irq_descp(vector)->lock, | 802 | spin_unlock_irqrestore(&irq_desc[vector].lock, |
| 804 | flags); | 803 | flags); |
| 805 | goto again; | 804 | goto again; |
| 806 | } | 805 | } |
| @@ -810,7 +809,7 @@ again: | |||
| 810 | polarity, trigger); | 809 | polarity, trigger); |
| 811 | if (err < 0) { | 810 | if (err < 0) { |
| 812 | spin_unlock(&iosapic_lock); | 811 | spin_unlock(&iosapic_lock); |
| 813 | spin_unlock_irqrestore(&irq_descp(vector)->lock, | 812 | spin_unlock_irqrestore(&irq_desc[vector].lock, |
| 814 | flags); | 813 | flags); |
| 815 | return err; | 814 | return err; |
| 816 | } | 815 | } |
| @@ -825,7 +824,7 @@ again: | |||
| 825 | set_rte(gsi, vector, dest, mask); | 824 | set_rte(gsi, vector, dest, mask); |
| 826 | } | 825 | } |
| 827 | spin_unlock(&iosapic_lock); | 826 | spin_unlock(&iosapic_lock); |
| 828 | spin_unlock_irqrestore(&irq_descp(vector)->lock, flags); | 827 | spin_unlock_irqrestore(&irq_desc[vector].lock, flags); |
| 829 | 828 | ||
| 830 | printk(KERN_INFO "GSI %u (%s, %s) -> CPU %d (0x%04x) vector %d\n", | 829 | printk(KERN_INFO "GSI %u (%s, %s) -> CPU %d (0x%04x) vector %d\n", |
| 831 | gsi, (trigger == IOSAPIC_EDGE ? "edge" : "level"), | 830 | gsi, (trigger == IOSAPIC_EDGE ? "edge" : "level"), |
| @@ -860,7 +859,7 @@ iosapic_unregister_intr (unsigned int gsi) | |||
| 860 | } | 859 | } |
| 861 | vector = irq_to_vector(irq); | 860 | vector = irq_to_vector(irq); |
| 862 | 861 | ||
| 863 | idesc = irq_descp(irq); | 862 | idesc = irq_desc + irq; |
| 864 | spin_lock_irqsave(&idesc->lock, flags); | 863 | spin_lock_irqsave(&idesc->lock, flags); |
| 865 | spin_lock(&iosapic_lock); | 864 | spin_lock(&iosapic_lock); |
| 866 | { | 865 | { |
| @@ -903,7 +902,7 @@ iosapic_unregister_intr (unsigned int gsi) | |||
| 903 | BUG_ON(iosapic_intr_info[vector].count); | 902 | BUG_ON(iosapic_intr_info[vector].count); |
| 904 | 903 | ||
| 905 | /* Clear the interrupt controller descriptor */ | 904 | /* Clear the interrupt controller descriptor */ |
| 906 | idesc->handler = &no_irq_type; | 905 | idesc->chip = &no_irq_type; |
| 907 | 906 | ||
| 908 | /* Clear the interrupt information */ | 907 | /* Clear the interrupt information */ |
| 909 | memset(&iosapic_intr_info[vector], 0, | 908 | memset(&iosapic_intr_info[vector], 0, |
diff --git a/arch/ia64/kernel/irq.c b/arch/ia64/kernel/irq.c index 9c72ea3f6432..7852382de2fa 100644 --- a/arch/ia64/kernel/irq.c +++ b/arch/ia64/kernel/irq.c | |||
| @@ -76,7 +76,7 @@ int show_interrupts(struct seq_file *p, void *v) | |||
| 76 | seq_printf(p, "%10u ", kstat_cpu(j).irqs[i]); | 76 | seq_printf(p, "%10u ", kstat_cpu(j).irqs[i]); |
| 77 | } | 77 | } |
| 78 | #endif | 78 | #endif |
| 79 | seq_printf(p, " %14s", irq_desc[i].handler->typename); | 79 | seq_printf(p, " %14s", irq_desc[i].chip->typename); |
| 80 | seq_printf(p, " %s", action->name); | 80 | seq_printf(p, " %s", action->name); |
| 81 | 81 | ||
| 82 | for (action=action->next; action; action = action->next) | 82 | for (action=action->next; action; action = action->next) |
| @@ -100,7 +100,7 @@ void set_irq_affinity_info (unsigned int irq, int hwid, int redir) | |||
| 100 | cpu_set(cpu_logical_id(hwid), mask); | 100 | cpu_set(cpu_logical_id(hwid), mask); |
| 101 | 101 | ||
| 102 | if (irq < NR_IRQS) { | 102 | if (irq < NR_IRQS) { |
| 103 | irq_affinity[irq] = mask; | 103 | irq_desc[irq].affinity = mask; |
| 104 | irq_redir[irq] = (char) (redir & 0xff); | 104 | irq_redir[irq] = (char) (redir & 0xff); |
| 105 | } | 105 | } |
| 106 | } | 106 | } |
| @@ -120,7 +120,7 @@ static void migrate_irqs(void) | |||
| 120 | int irq, new_cpu; | 120 | int irq, new_cpu; |
| 121 | 121 | ||
| 122 | for (irq=0; irq < NR_IRQS; irq++) { | 122 | for (irq=0; irq < NR_IRQS; irq++) { |
| 123 | desc = irq_descp(irq); | 123 | desc = irq_desc + irq; |
| 124 | 124 | ||
| 125 | /* | 125 | /* |
| 126 | * No handling for now. | 126 | * No handling for now. |
| @@ -131,7 +131,7 @@ static void migrate_irqs(void) | |||
| 131 | if (desc->status == IRQ_PER_CPU) | 131 | if (desc->status == IRQ_PER_CPU) |
| 132 | continue; | 132 | continue; |
| 133 | 133 | ||
| 134 | cpus_and(mask, irq_affinity[irq], cpu_online_map); | 134 | cpus_and(mask, irq_desc[irq].affinity, cpu_online_map); |
| 135 | if (any_online_cpu(mask) == NR_CPUS) { | 135 | if (any_online_cpu(mask) == NR_CPUS) { |
| 136 | /* | 136 | /* |
| 137 | * Save it for phase 2 processing | 137 | * Save it for phase 2 processing |
| @@ -144,15 +144,15 @@ static void migrate_irqs(void) | |||
| 144 | /* | 144 | /* |
| 145 | * Al three are essential, currently WARN_ON.. maybe panic? | 145 | * Al three are essential, currently WARN_ON.. maybe panic? |
| 146 | */ | 146 | */ |
| 147 | if (desc->handler && desc->handler->disable && | 147 | if (desc->chip && desc->chip->disable && |
| 148 | desc->handler->enable && desc->handler->set_affinity) { | 148 | desc->chip->enable && desc->chip->set_affinity) { |
| 149 | desc->handler->disable(irq); | 149 | desc->chip->disable(irq); |
| 150 | desc->handler->set_affinity(irq, mask); | 150 | desc->chip->set_affinity(irq, mask); |
| 151 | desc->handler->enable(irq); | 151 | desc->chip->enable(irq); |
| 152 | } else { | 152 | } else { |
| 153 | WARN_ON((!(desc->handler) || !(desc->handler->disable) || | 153 | WARN_ON((!(desc->chip) || !(desc->chip->disable) || |
| 154 | !(desc->handler->enable) || | 154 | !(desc->chip->enable) || |
| 155 | !(desc->handler->set_affinity))); | 155 | !(desc->chip->set_affinity))); |
| 156 | } | 156 | } |
| 157 | } | 157 | } |
| 158 | } | 158 | } |
diff --git a/arch/ia64/kernel/irq_ia64.c b/arch/ia64/kernel/irq_ia64.c index ef9a2b49307a..a041367f043b 100644 --- a/arch/ia64/kernel/irq_ia64.c +++ b/arch/ia64/kernel/irq_ia64.c | |||
| @@ -14,7 +14,6 @@ | |||
| 14 | * Added CPU Hotplug handling for IPF. | 14 | * Added CPU Hotplug handling for IPF. |
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | #include <linux/config.h> | ||
| 18 | #include <linux/module.h> | 17 | #include <linux/module.h> |
| 19 | 18 | ||
| 20 | #include <linux/jiffies.h> | 19 | #include <linux/jiffies.h> |
| @@ -236,7 +235,7 @@ extern irqreturn_t handle_IPI (int irq, void *dev_id, struct pt_regs *regs); | |||
| 236 | 235 | ||
| 237 | static struct irqaction ipi_irqaction = { | 236 | static struct irqaction ipi_irqaction = { |
| 238 | .handler = handle_IPI, | 237 | .handler = handle_IPI, |
| 239 | .flags = SA_INTERRUPT, | 238 | .flags = IRQF_DISABLED, |
| 240 | .name = "IPI" | 239 | .name = "IPI" |
| 241 | }; | 240 | }; |
| 242 | #endif | 241 | #endif |
| @@ -249,9 +248,9 @@ register_percpu_irq (ia64_vector vec, struct irqaction *action) | |||
| 249 | 248 | ||
| 250 | for (irq = 0; irq < NR_IRQS; ++irq) | 249 | for (irq = 0; irq < NR_IRQS; ++irq) |
| 251 | if (irq_to_vector(irq) == vec) { | 250 | if (irq_to_vector(irq) == vec) { |
| 252 | desc = irq_descp(irq); | 251 | desc = irq_desc + irq; |
| 253 | desc->status |= IRQ_PER_CPU; | 252 | desc->status |= IRQ_PER_CPU; |
| 254 | desc->handler = &irq_type_ia64_lsapic; | 253 | desc->chip = &irq_type_ia64_lsapic; |
| 255 | if (action) | 254 | if (action) |
| 256 | setup_irq(irq, action); | 255 | setup_irq(irq, action); |
| 257 | } | 256 | } |
diff --git a/arch/ia64/kernel/irq_lsapic.c b/arch/ia64/kernel/irq_lsapic.c index ea14e6a04409..1ab58b09f3d7 100644 --- a/arch/ia64/kernel/irq_lsapic.c +++ b/arch/ia64/kernel/irq_lsapic.c | |||
| @@ -26,6 +26,13 @@ lsapic_noop (unsigned int irq) | |||
| 26 | /* nuthing to do... */ | 26 | /* nuthing to do... */ |
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | static int lsapic_retrigger(unsigned int irq) | ||
| 30 | { | ||
| 31 | ia64_resend_irq(irq); | ||
| 32 | |||
| 33 | return 1; | ||
| 34 | } | ||
| 35 | |||
| 29 | struct hw_interrupt_type irq_type_ia64_lsapic = { | 36 | struct hw_interrupt_type irq_type_ia64_lsapic = { |
| 30 | .typename = "LSAPIC", | 37 | .typename = "LSAPIC", |
| 31 | .startup = lsapic_noop_startup, | 38 | .startup = lsapic_noop_startup, |
| @@ -33,5 +40,6 @@ struct hw_interrupt_type irq_type_ia64_lsapic = { | |||
| 33 | .enable = lsapic_noop, | 40 | .enable = lsapic_noop, |
| 34 | .disable = lsapic_noop, | 41 | .disable = lsapic_noop, |
| 35 | .ack = lsapic_noop, | 42 | .ack = lsapic_noop, |
| 36 | .end = lsapic_noop | 43 | .end = lsapic_noop, |
| 44 | .retrigger = lsapic_retrigger, | ||
| 37 | }; | 45 | }; |
diff --git a/arch/ia64/kernel/ivt.S b/arch/ia64/kernel/ivt.S index 829a43cab797..6b7fcbd3f6f1 100644 --- a/arch/ia64/kernel/ivt.S +++ b/arch/ia64/kernel/ivt.S | |||
| @@ -38,7 +38,6 @@ | |||
| 38 | * Table is based upon EAS2.6 (Oct 1999) | 38 | * Table is based upon EAS2.6 (Oct 1999) |
| 39 | */ | 39 | */ |
| 40 | 40 | ||
| 41 | #include <linux/config.h> | ||
| 42 | 41 | ||
| 43 | #include <asm/asmmacro.h> | 42 | #include <asm/asmmacro.h> |
| 44 | #include <asm/break.h> | 43 | #include <asm/break.h> |
diff --git a/arch/ia64/kernel/kprobes.c b/arch/ia64/kernel/kprobes.c index f9039f88d01d..00d9c83b8020 100644 --- a/arch/ia64/kernel/kprobes.c +++ b/arch/ia64/kernel/kprobes.c | |||
| @@ -23,7 +23,6 @@ | |||
| 23 | * <anil.s.keshavamurthy@intel.com> adapted from i386 | 23 | * <anil.s.keshavamurthy@intel.com> adapted from i386 |
| 24 | */ | 24 | */ |
| 25 | 25 | ||
| 26 | #include <linux/config.h> | ||
| 27 | #include <linux/kprobes.h> | 26 | #include <linux/kprobes.h> |
| 28 | #include <linux/ptrace.h> | 27 | #include <linux/ptrace.h> |
| 29 | #include <linux/string.h> | 28 | #include <linux/string.h> |
diff --git a/arch/ia64/kernel/machvec.c b/arch/ia64/kernel/machvec.c index 4b0b71d5aef4..d4a546aa5048 100644 --- a/arch/ia64/kernel/machvec.c +++ b/arch/ia64/kernel/machvec.c | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | #include <linux/config.h> | ||
| 2 | #include <linux/module.h> | 1 | #include <linux/module.h> |
| 3 | 2 | ||
| 4 | #include <asm/machvec.h> | 3 | #include <asm/machvec.h> |
diff --git a/arch/ia64/kernel/mca.c b/arch/ia64/kernel/mca.c index 6a0880639bc9..eb8e8dc5ac8e 100644 --- a/arch/ia64/kernel/mca.c +++ b/arch/ia64/kernel/mca.c | |||
| @@ -55,7 +55,6 @@ | |||
| 55 | * 2005-10-07 Keith Owens <kaos@sgi.com> | 55 | * 2005-10-07 Keith Owens <kaos@sgi.com> |
| 56 | * Add notify_die() hooks. | 56 | * Add notify_die() hooks. |
| 57 | */ | 57 | */ |
| 58 | #include <linux/config.h> | ||
| 59 | #include <linux/types.h> | 58 | #include <linux/types.h> |
| 60 | #include <linux/init.h> | 59 | #include <linux/init.h> |
| 61 | #include <linux/sched.h> | 60 | #include <linux/sched.h> |
| @@ -1458,38 +1457,38 @@ __setup("disable_cpe_poll", ia64_mca_disable_cpe_polling); | |||
| 1458 | 1457 | ||
| 1459 | static struct irqaction cmci_irqaction = { | 1458 | static struct irqaction cmci_irqaction = { |
| 1460 | .handler = ia64_mca_cmc_int_handler, | 1459 | .handler = ia64_mca_cmc_int_handler, |
| 1461 | .flags = SA_INTERRUPT, | 1460 | .flags = IRQF_DISABLED, |
| 1462 | .name = "cmc_hndlr" | 1461 | .name = "cmc_hndlr" |
| 1463 | }; | 1462 | }; |
| 1464 | 1463 | ||
| 1465 | static struct irqaction cmcp_irqaction = { | 1464 | static struct irqaction cmcp_irqaction = { |
| 1466 | .handler = ia64_mca_cmc_int_caller, | 1465 | .handler = ia64_mca_cmc_int_caller, |
| 1467 | .flags = SA_INTERRUPT, | 1466 | .flags = IRQF_DISABLED, |
| 1468 | .name = "cmc_poll" | 1467 | .name = "cmc_poll" |
| 1469 | }; | 1468 | }; |
| 1470 | 1469 | ||
| 1471 | static struct irqaction mca_rdzv_irqaction = { | 1470 | static struct irqaction mca_rdzv_irqaction = { |
| 1472 | .handler = ia64_mca_rendez_int_handler, | 1471 | .handler = ia64_mca_rendez_int_handler, |
| 1473 | .flags = SA_INTERRUPT, | 1472 | .flags = IRQF_DISABLED, |
| 1474 | .name = "mca_rdzv" | 1473 | .name = "mca_rdzv" |
| 1475 | }; | 1474 | }; |
| 1476 | 1475 | ||
| 1477 | static struct irqaction mca_wkup_irqaction = { | 1476 | static struct irqaction mca_wkup_irqaction = { |
| 1478 | .handler = ia64_mca_wakeup_int_handler, | 1477 | .handler = ia64_mca_wakeup_int_handler, |
| 1479 | .flags = SA_INTERRUPT, | 1478 | .flags = IRQF_DISABLED, |
| 1480 | .name = "mca_wkup" | 1479 | .name = "mca_wkup" |
| 1481 | }; | 1480 | }; |
| 1482 | 1481 | ||
| 1483 | #ifdef CONFIG_ACPI | 1482 | #ifdef CONFIG_ACPI |
| 1484 | static struct irqaction mca_cpe_irqaction = { | 1483 | static struct irqaction mca_cpe_irqaction = { |
| 1485 | .handler = ia64_mca_cpe_int_handler, | 1484 | .handler = ia64_mca_cpe_int_handler, |
| 1486 | .flags = SA_INTERRUPT, | 1485 | .flags = IRQF_DISABLED, |
| 1487 | .name = "cpe_hndlr" | 1486 | .name = "cpe_hndlr" |
| 1488 | }; | 1487 | }; |
| 1489 | 1488 | ||
| 1490 | static struct irqaction mca_cpep_irqaction = { | 1489 | static struct irqaction mca_cpep_irqaction = { |
| 1491 | .handler = ia64_mca_cpe_int_caller, | 1490 | .handler = ia64_mca_cpe_int_caller, |
| 1492 | .flags = SA_INTERRUPT, | 1491 | .flags = IRQF_DISABLED, |
| 1493 | .name = "cpe_poll" | 1492 | .name = "cpe_poll" |
| 1494 | }; | 1493 | }; |
| 1495 | #endif /* CONFIG_ACPI */ | 1494 | #endif /* CONFIG_ACPI */ |
| @@ -1788,7 +1787,7 @@ ia64_mca_late_init(void) | |||
| 1788 | cpe_poll_enabled = 0; | 1787 | cpe_poll_enabled = 0; |
| 1789 | for (irq = 0; irq < NR_IRQS; ++irq) | 1788 | for (irq = 0; irq < NR_IRQS; ++irq) |
| 1790 | if (irq_to_vector(irq) == cpe_vector) { | 1789 | if (irq_to_vector(irq) == cpe_vector) { |
| 1791 | desc = irq_descp(irq); | 1790 | desc = irq_desc + irq; |
| 1792 | desc->status |= IRQ_PER_CPU; | 1791 | desc->status |= IRQ_PER_CPU; |
| 1793 | setup_irq(irq, &mca_cpe_irqaction); | 1792 | setup_irq(irq, &mca_cpe_irqaction); |
| 1794 | ia64_cpe_irq = irq; | 1793 | ia64_cpe_irq = irq; |
diff --git a/arch/ia64/kernel/mca_asm.S b/arch/ia64/kernel/mca_asm.S index c1bd1feffab0..96047491d1b9 100644 --- a/arch/ia64/kernel/mca_asm.S +++ b/arch/ia64/kernel/mca_asm.S | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | // 12/08/05 Keith Owens <kaos@sgi.com> | 19 | // 12/08/05 Keith Owens <kaos@sgi.com> |
| 20 | // Use per cpu MCA/INIT stacks for all data. | 20 | // Use per cpu MCA/INIT stacks for all data. |
| 21 | // | 21 | // |
| 22 | #include <linux/config.h> | ||
| 23 | #include <linux/threads.h> | 22 | #include <linux/threads.h> |
| 24 | 23 | ||
| 25 | #include <asm/asmmacro.h> | 24 | #include <asm/asmmacro.h> |
diff --git a/arch/ia64/kernel/mca_drv.c b/arch/ia64/kernel/mca_drv.c index ca6666b51ccb..8db6e0cedadc 100644 --- a/arch/ia64/kernel/mca_drv.c +++ b/arch/ia64/kernel/mca_drv.c | |||
| @@ -8,7 +8,6 @@ | |||
| 8 | * Copyright (C) 2005 Keith Owens <kaos@sgi.com> | 8 | * Copyright (C) 2005 Keith Owens <kaos@sgi.com> |
| 9 | * Copyright (C) 2006 Russ Anderson <rja@sgi.com> | 9 | * Copyright (C) 2006 Russ Anderson <rja@sgi.com> |
| 10 | */ | 10 | */ |
| 11 | #include <linux/config.h> | ||
| 12 | #include <linux/types.h> | 11 | #include <linux/types.h> |
| 13 | #include <linux/init.h> | 12 | #include <linux/init.h> |
| 14 | #include <linux/sched.h> | 13 | #include <linux/sched.h> |
diff --git a/arch/ia64/kernel/mca_drv_asm.S b/arch/ia64/kernel/mca_drv_asm.S index e6a580d354b9..f2d4900751ba 100644 --- a/arch/ia64/kernel/mca_drv_asm.S +++ b/arch/ia64/kernel/mca_drv_asm.S | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | * Copyright (C) 2004 FUJITSU LIMITED | 5 | * Copyright (C) 2004 FUJITSU LIMITED |
| 6 | * Copyright (C) Hidetoshi Seto (seto.hidetoshi@jp.fujitsu.com) | 6 | * Copyright (C) Hidetoshi Seto (seto.hidetoshi@jp.fujitsu.com) |
| 7 | */ | 7 | */ |
| 8 | #include <linux/config.h> | ||
| 9 | #include <linux/threads.h> | 8 | #include <linux/threads.h> |
| 10 | 9 | ||
| 11 | #include <asm/asmmacro.h> | 10 | #include <asm/asmmacro.h> |
diff --git a/arch/ia64/kernel/minstate.h b/arch/ia64/kernel/minstate.h index 85ed54179afa..c9ac8bada786 100644 --- a/arch/ia64/kernel/minstate.h +++ b/arch/ia64/kernel/minstate.h | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | #include <linux/config.h> | ||
| 2 | 1 | ||
| 3 | #include <asm/cache.h> | 2 | #include <asm/cache.h> |
| 4 | 3 | ||
diff --git a/arch/ia64/kernel/module.c b/arch/ia64/kernel/module.c index 3a30cfc9574f..158e3c51bb77 100644 --- a/arch/ia64/kernel/module.c +++ b/arch/ia64/kernel/module.c | |||
| @@ -25,7 +25,6 @@ | |||
| 25 | SEGREL64LSB | 25 | SEGREL64LSB |
| 26 | */ | 26 | */ |
| 27 | 27 | ||
| 28 | #include <linux/config.h> | ||
| 29 | 28 | ||
| 30 | #include <linux/kernel.h> | 29 | #include <linux/kernel.h> |
| 31 | #include <linux/sched.h> | 30 | #include <linux/sched.h> |
diff --git a/arch/ia64/kernel/numa.c b/arch/ia64/kernel/numa.c index 0766493d4d00..1cc360c83e7a 100644 --- a/arch/ia64/kernel/numa.c +++ b/arch/ia64/kernel/numa.c | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | * Copyright (C) 2004 Silicon Graphics, Inc. | 19 | * Copyright (C) 2004 Silicon Graphics, Inc. |
| 20 | * Jesse Barnes <jbarnes@sgi.com> | 20 | * Jesse Barnes <jbarnes@sgi.com> |
| 21 | */ | 21 | */ |
| 22 | #include <linux/config.h> | ||
| 23 | #include <linux/topology.h> | 22 | #include <linux/topology.h> |
| 24 | #include <linux/module.h> | 23 | #include <linux/module.h> |
| 25 | #include <asm/processor.h> | 24 | #include <asm/processor.h> |
diff --git a/arch/ia64/kernel/palinfo.c b/arch/ia64/kernel/palinfo.c index 8a1208419138..3f5bac59209a 100644 --- a/arch/ia64/kernel/palinfo.c +++ b/arch/ia64/kernel/palinfo.c | |||
| @@ -17,7 +17,6 @@ | |||
| 17 | * 10/23/2001 S.Eranian updated pal_perf_mon_info bug fixes | 17 | * 10/23/2001 S.Eranian updated pal_perf_mon_info bug fixes |
| 18 | * 03/24/2004 Ashok Raj updated to work with CPU Hotplug | 18 | * 03/24/2004 Ashok Raj updated to work with CPU Hotplug |
| 19 | */ | 19 | */ |
| 20 | #include <linux/config.h> | ||
| 21 | #include <linux/types.h> | 20 | #include <linux/types.h> |
| 22 | #include <linux/errno.h> | 21 | #include <linux/errno.h> |
| 23 | #include <linux/init.h> | 22 | #include <linux/init.h> |
diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c index 6d7bc8ff7b3a..c7ccd6ee1ddf 100644 --- a/arch/ia64/kernel/perfmon.c +++ b/arch/ia64/kernel/perfmon.c | |||
| @@ -19,7 +19,6 @@ | |||
| 19 | * http://www.hpl.hp.com/research/linux/perfmon | 19 | * http://www.hpl.hp.com/research/linux/perfmon |
| 20 | */ | 20 | */ |
| 21 | 21 | ||
| 22 | #include <linux/config.h> | ||
| 23 | #include <linux/module.h> | 22 | #include <linux/module.h> |
| 24 | #include <linux/kernel.h> | 23 | #include <linux/kernel.h> |
| 25 | #include <linux/sched.h> | 24 | #include <linux/sched.h> |
| @@ -6165,7 +6164,7 @@ pfm_load_regs (struct task_struct *task) | |||
| 6165 | /* | 6164 | /* |
| 6166 | * will replay the PMU interrupt | 6165 | * will replay the PMU interrupt |
| 6167 | */ | 6166 | */ |
| 6168 | if (need_irq_resend) hw_resend_irq(NULL, IA64_PERFMON_VECTOR); | 6167 | if (need_irq_resend) ia64_resend_irq(IA64_PERFMON_VECTOR); |
| 6169 | 6168 | ||
| 6170 | pfm_stats[smp_processor_id()].pfm_replay_ovfl_intr_count++; | 6169 | pfm_stats[smp_processor_id()].pfm_replay_ovfl_intr_count++; |
| 6171 | } | 6170 | } |
| @@ -6305,7 +6304,7 @@ pfm_load_regs (struct task_struct *task) | |||
| 6305 | /* | 6304 | /* |
| 6306 | * will replay the PMU interrupt | 6305 | * will replay the PMU interrupt |
| 6307 | */ | 6306 | */ |
| 6308 | if (need_irq_resend) hw_resend_irq(NULL, IA64_PERFMON_VECTOR); | 6307 | if (need_irq_resend) ia64_resend_irq(IA64_PERFMON_VECTOR); |
| 6309 | 6308 | ||
| 6310 | pfm_stats[smp_processor_id()].pfm_replay_ovfl_intr_count++; | 6309 | pfm_stats[smp_processor_id()].pfm_replay_ovfl_intr_count++; |
| 6311 | } | 6310 | } |
| @@ -6440,7 +6439,7 @@ pfm_flush_pmds(struct task_struct *task, pfm_context_t *ctx) | |||
| 6440 | 6439 | ||
| 6441 | static struct irqaction perfmon_irqaction = { | 6440 | static struct irqaction perfmon_irqaction = { |
| 6442 | .handler = pfm_interrupt_handler, | 6441 | .handler = pfm_interrupt_handler, |
| 6443 | .flags = SA_INTERRUPT, | 6442 | .flags = IRQF_DISABLED, |
| 6444 | .name = "perfmon" | 6443 | .name = "perfmon" |
| 6445 | }; | 6444 | }; |
| 6446 | 6445 | ||
diff --git a/arch/ia64/kernel/perfmon_default_smpl.c b/arch/ia64/kernel/perfmon_default_smpl.c index 344941db0a9e..ff80eab83b38 100644 --- a/arch/ia64/kernel/perfmon_default_smpl.c +++ b/arch/ia64/kernel/perfmon_default_smpl.c | |||
| @@ -8,7 +8,6 @@ | |||
| 8 | #include <linux/kernel.h> | 8 | #include <linux/kernel.h> |
| 9 | #include <linux/types.h> | 9 | #include <linux/types.h> |
| 10 | #include <linux/module.h> | 10 | #include <linux/module.h> |
| 11 | #include <linux/config.h> | ||
| 12 | #include <linux/init.h> | 11 | #include <linux/init.h> |
| 13 | #include <asm/delay.h> | 12 | #include <asm/delay.h> |
| 14 | #include <linux/smp.h> | 13 | #include <linux/smp.h> |
diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c index b045c279136c..ea914cc6812a 100644 --- a/arch/ia64/kernel/process.c +++ b/arch/ia64/kernel/process.c | |||
| @@ -9,7 +9,6 @@ | |||
| 9 | * Add notify_die() hooks. | 9 | * Add notify_die() hooks. |
| 10 | */ | 10 | */ |
| 11 | #define __KERNEL_SYSCALLS__ /* see <asm/unistd.h> */ | 11 | #define __KERNEL_SYSCALLS__ /* see <asm/unistd.h> */ |
| 12 | #include <linux/config.h> | ||
| 13 | 12 | ||
| 14 | #include <linux/cpu.h> | 13 | #include <linux/cpu.h> |
| 15 | #include <linux/pm.h> | 14 | #include <linux/pm.h> |
diff --git a/arch/ia64/kernel/ptrace.c b/arch/ia64/kernel/ptrace.c index e61e15e28d8b..aa705e46b974 100644 --- a/arch/ia64/kernel/ptrace.c +++ b/arch/ia64/kernel/ptrace.c | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | * | 6 | * |
| 7 | * Derived from the x86 and Alpha versions. | 7 | * Derived from the x86 and Alpha versions. |
| 8 | */ | 8 | */ |
| 9 | #include <linux/config.h> | ||
| 10 | #include <linux/kernel.h> | 9 | #include <linux/kernel.h> |
| 11 | #include <linux/sched.h> | 10 | #include <linux/sched.h> |
| 12 | #include <linux/slab.h> | 11 | #include <linux/slab.h> |
diff --git a/arch/ia64/kernel/sal.c b/arch/ia64/kernel/sal.c index 77fa65903d94..642fdc7b969d 100644 --- a/arch/ia64/kernel/sal.c +++ b/arch/ia64/kernel/sal.c | |||
| @@ -6,7 +6,6 @@ | |||
| 6 | * Copyright (C) 1999 VA Linux Systems | 6 | * Copyright (C) 1999 VA Linux Systems |
| 7 | * Copyright (C) 1999 Walt Drummond <drummond@valinux.com> | 7 | * Copyright (C) 1999 Walt Drummond <drummond@valinux.com> |
| 8 | */ | 8 | */ |
| 9 | #include <linux/config.h> | ||
| 10 | 9 | ||
| 11 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
| 12 | #include <linux/init.h> | 11 | #include <linux/init.h> |
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c index 6dba2d63f24d..6a33f414de58 100644 --- a/arch/ia64/kernel/setup.c +++ b/arch/ia64/kernel/setup.c | |||
| @@ -22,7 +22,6 @@ | |||
| 22 | * 06/24/99 W.Drummond added boot_cpu_data. | 22 | * 06/24/99 W.Drummond added boot_cpu_data. |
| 23 | * 05/28/05 Z. Menyhart Dynamic stride size for "flush_icache_range()" | 23 | * 05/28/05 Z. Menyhart Dynamic stride size for "flush_icache_range()" |
| 24 | */ | 24 | */ |
| 25 | #include <linux/config.h> | ||
| 26 | #include <linux/module.h> | 25 | #include <linux/module.h> |
| 27 | #include <linux/init.h> | 26 | #include <linux/init.h> |
| 28 | 27 | ||
diff --git a/arch/ia64/kernel/signal.c b/arch/ia64/kernel/signal.c index 1d7903ee2126..77f8b49c7882 100644 --- a/arch/ia64/kernel/signal.c +++ b/arch/ia64/kernel/signal.c | |||
| @@ -7,7 +7,6 @@ | |||
| 7 | * Derived from i386 and Alpha versions. | 7 | * Derived from i386 and Alpha versions. |
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | #include <linux/config.h> | ||
| 11 | #include <linux/errno.h> | 10 | #include <linux/errno.h> |
| 12 | #include <linux/kernel.h> | 11 | #include <linux/kernel.h> |
| 13 | #include <linux/mm.h> | 12 | #include <linux/mm.h> |
diff --git a/arch/ia64/kernel/smpboot.c b/arch/ia64/kernel/smpboot.c index 44e9547878ac..e1960979be29 100644 --- a/arch/ia64/kernel/smpboot.c +++ b/arch/ia64/kernel/smpboot.c | |||
| @@ -21,7 +21,6 @@ | |||
| 21 | * 05/01/30 Suresh Siddha <suresh.b.siddha@intel.com> | 21 | * 05/01/30 Suresh Siddha <suresh.b.siddha@intel.com> |
| 22 | * Setup cpu_sibling_map and cpu_core_map | 22 | * Setup cpu_sibling_map and cpu_core_map |
| 23 | */ | 23 | */ |
| 24 | #include <linux/config.h> | ||
| 25 | 24 | ||
| 26 | #include <linux/module.h> | 25 | #include <linux/module.h> |
| 27 | #include <linux/acpi.h> | 26 | #include <linux/acpi.h> |
| @@ -677,16 +676,16 @@ int migrate_platform_irqs(unsigned int cpu) | |||
| 677 | new_cpei_cpu = any_online_cpu(cpu_online_map); | 676 | new_cpei_cpu = any_online_cpu(cpu_online_map); |
| 678 | mask = cpumask_of_cpu(new_cpei_cpu); | 677 | mask = cpumask_of_cpu(new_cpei_cpu); |
| 679 | set_cpei_target_cpu(new_cpei_cpu); | 678 | set_cpei_target_cpu(new_cpei_cpu); |
| 680 | desc = irq_descp(ia64_cpe_irq); | 679 | desc = irq_desc + ia64_cpe_irq; |
| 681 | /* | 680 | /* |
| 682 | * Switch for now, immediatly, we need to do fake intr | 681 | * Switch for now, immediatly, we need to do fake intr |
| 683 | * as other interrupts, but need to study CPEI behaviour with | 682 | * as other interrupts, but need to study CPEI behaviour with |
| 684 | * polling before making changes. | 683 | * polling before making changes. |
| 685 | */ | 684 | */ |
| 686 | if (desc) { | 685 | if (desc) { |
| 687 | desc->handler->disable(ia64_cpe_irq); | 686 | desc->chip->disable(ia64_cpe_irq); |
| 688 | desc->handler->set_affinity(ia64_cpe_irq, mask); | 687 | desc->chip->set_affinity(ia64_cpe_irq, mask); |
| 689 | desc->handler->enable(ia64_cpe_irq); | 688 | desc->chip->enable(ia64_cpe_irq); |
| 690 | printk ("Re-targetting CPEI to cpu %d\n", new_cpei_cpu); | 689 | printk ("Re-targetting CPEI to cpu %d\n", new_cpei_cpu); |
| 691 | } | 690 | } |
| 692 | } | 691 | } |
diff --git a/arch/ia64/kernel/sys_ia64.c b/arch/ia64/kernel/sys_ia64.c index c7b943f10199..40722d88607a 100644 --- a/arch/ia64/kernel/sys_ia64.c +++ b/arch/ia64/kernel/sys_ia64.c | |||
| @@ -5,7 +5,6 @@ | |||
| 5 | * Copyright (C) 1999-2000, 2002-2003, 2005 Hewlett-Packard Co | 5 | * Copyright (C) 1999-2000, 2002-2003, 2005 Hewlett-Packard Co |
| 6 | * David Mosberger-Tang <davidm@hpl.hp.com> | 6 | * David Mosberger-Tang <davidm@hpl.hp.com> |
| 7 | */ | 7 | */ |
| 8 | #include <linux/config.h> | ||
| 9 | #include <linux/errno.h> | 8 | #include <linux/errno.h> |
| 10 | #include <linux/fs.h> | 9 | #include <linux/fs.h> |
| 11 | #include <linux/mm.h> | 10 | #include <linux/mm.h> |
diff --git a/arch/ia64/kernel/time.c b/arch/ia64/kernel/time.c index 49958904045b..6928ef0d64d8 100644 --- a/arch/ia64/kernel/time.c +++ b/arch/ia64/kernel/time.c | |||
| @@ -8,7 +8,6 @@ | |||
| 8 | * Copyright (C) 1999-2000 VA Linux Systems | 8 | * Copyright (C) 1999-2000 VA Linux Systems |
| 9 | * Copyright (C) 1999-2000 Walt Drummond <drummond@valinux.com> | 9 | * Copyright (C) 1999-2000 Walt Drummond <drummond@valinux.com> |
| 10 | */ | 10 | */ |
| 11 | #include <linux/config.h> | ||
| 12 | 11 | ||
| 13 | #include <linux/cpu.h> | 12 | #include <linux/cpu.h> |
| 14 | #include <linux/init.h> | 13 | #include <linux/init.h> |
| @@ -232,7 +231,7 @@ ia64_init_itm (void) | |||
| 232 | 231 | ||
| 233 | static struct irqaction timer_irqaction = { | 232 | static struct irqaction timer_irqaction = { |
| 234 | .handler = timer_interrupt, | 233 | .handler = timer_interrupt, |
| 235 | .flags = SA_INTERRUPT, | 234 | .flags = IRQF_DISABLED, |
| 236 | .name = "timer" | 235 | .name = "timer" |
| 237 | }; | 236 | }; |
| 238 | 237 | ||
diff --git a/arch/ia64/kernel/topology.c b/arch/ia64/kernel/topology.c index 5511d9c6c701..b146f1cfad31 100644 --- a/arch/ia64/kernel/topology.c +++ b/arch/ia64/kernel/topology.c | |||
| @@ -13,7 +13,6 @@ | |||
| 13 | * Populate cpu cache entries in sysfs for cpu cache info | 13 | * Populate cpu cache entries in sysfs for cpu cache info |
| 14 | */ | 14 | */ |
| 15 | 15 | ||
| 16 | #include <linux/config.h> | ||
| 17 | #include <linux/cpu.h> | 16 | #include <linux/cpu.h> |
| 18 | #include <linux/kernel.h> | 17 | #include <linux/kernel.h> |
| 19 | #include <linux/mm.h> | 18 | #include <linux/mm.h> |
diff --git a/arch/ia64/kernel/traps.c b/arch/ia64/kernel/traps.c index 7c1ddc8ac443..e7bbb0f40aa2 100644 --- a/arch/ia64/kernel/traps.c +++ b/arch/ia64/kernel/traps.c | |||
| @@ -7,7 +7,6 @@ | |||
| 7 | * 05/12/00 grao <goutham.rao@intel.com> : added isr in siginfo for SIGFPE | 7 | * 05/12/00 grao <goutham.rao@intel.com> : added isr in siginfo for SIGFPE |
| 8 | */ | 8 | */ |
| 9 | 9 | ||
| 10 | #include <linux/config.h> | ||
| 11 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
| 12 | #include <linux/init.h> | 11 | #include <linux/init.h> |
| 13 | #include <linux/sched.h> | 12 | #include <linux/sched.h> |
diff --git a/arch/ia64/kernel/vmlinux.lds.S b/arch/ia64/kernel/vmlinux.lds.S index 783600fe52b2..5b0d5f64a9b1 100644 --- a/arch/ia64/kernel/vmlinux.lds.S +++ b/arch/ia64/kernel/vmlinux.lds.S | |||
| @@ -1,4 +1,3 @@ | |||
| 1 | #include <linux/config.h> | ||
| 2 | 1 | ||
| 3 | #include <asm/cache.h> | 2 | #include <asm/cache.h> |
| 4 | #include <asm/ptrace.h> | 3 | #include <asm/ptrace.h> |
