x86, apic: remove genapic.h
authorIngo Molnar <mingo@elte.hu>
Tue, 17 Feb 2009 12:58:15 +0000 (13:58 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 17 Feb 2009 16:52:44 +0000 (17:52 +0100)
Impact: cleanup

Remove genapic.h and remove all references to it.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
45 files changed:
arch/x86/include/asm/ipi.h
arch/x86/kernel/acpi/boot.c
arch/x86/kernel/apic.c
arch/x86/kernel/bigsmp_32.c
arch/x86/kernel/cpu/addon_cpuid_features.c
arch/x86/kernel/cpu/amd.c
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/intel.c
arch/x86/kernel/cpu/mcheck/mce_amd_64.c
arch/x86/kernel/cpu/mcheck/mce_intel_64.c
arch/x86/kernel/cpu/mcheck/p4.c
arch/x86/kernel/crash.c
arch/x86/kernel/es7000_32.c
arch/x86/kernel/genapic_64.c
arch/x86/kernel/genapic_flat_64.c
arch/x86/kernel/genx2apic_cluster.c
arch/x86/kernel/genx2apic_phys.c
arch/x86/kernel/genx2apic_uv_x.c
arch/x86/kernel/io_apic.c
arch/x86/kernel/ipi.c
arch/x86/kernel/irq.c
arch/x86/kernel/irq_32.c
arch/x86/kernel/kgdb.c
arch/x86/kernel/mpparse.c
arch/x86/kernel/nmi.c
arch/x86/kernel/numaq_32.c
arch/x86/kernel/probe_32.c
arch/x86/kernel/reboot.c
arch/x86/kernel/setup.c
arch/x86/kernel/smp.c
arch/x86/kernel/smpboot.c
arch/x86/kernel/summit_32.c
arch/x86/kernel/tlb_uv.c
arch/x86/kernel/uv_irq.c
arch/x86/kernel/visws_quirks.c
arch/x86/kernel/vmi_32.c
arch/x86/kernel/vmiclock_32.c
arch/x86/lguest/boot.c
arch/x86/mm/srat_64.c
arch/x86/mm/tlb.c
arch/x86/oprofile/nmi_int.c
arch/x86/oprofile/op_model_p4.c
arch/x86/oprofile/op_model_ppro.c
arch/x86/pci/numaq_32.c
arch/x86/xen/enlighten.c

index 5f2efc5d99270dd72e60cef3aabd1eeab4075e54..3395c680a9767f5323f171c2607bbece242dda07 100644 (file)
@@ -123,7 +123,7 @@ extern void default_send_IPI_mask_sequence_phys(const struct cpumask *mask,
                                                 int vector);
 extern void default_send_IPI_mask_allbutself_phys(const struct cpumask *mask,
                                                         int vector);
-#include <asm/genapic.h>
+#include <asm/apic.h>
 
 extern void default_send_IPI_mask_sequence_logical(const struct cpumask *mask,
                                                         int vector);
index 956c1dee6fbee127443a9933997f1e05cd4849ef..42814152c940fdb5b73993118ba139a6ace25041 100644 (file)
@@ -37,7 +37,7 @@
 #include <asm/pgtable.h>
 #include <asm/io_apic.h>
 #include <asm/apic.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/io.h>
 #include <asm/mpspec.h>
 #include <asm/smp.h>
index af494bad885874c323969abbb3da85bae73beba7..7db03a9b61dcbbf11b4554213bc0b2b21fe7594e 100644 (file)
@@ -36,7 +36,7 @@
 
 #include <asm/arch_hooks.h>
 #include <asm/pgalloc.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/atomic.h>
 #include <asm/mpspec.h>
 #include <asm/i8253.h>
index 9eeb714c5ded82eb1fe3bfc17610b411802832a2..72f4e534051e8ab608abd54b871a8fb1959b542f 100644 (file)
@@ -6,7 +6,7 @@
 #include <linux/threads.h>
 #include <linux/cpumask.h>
 #include <asm/mpspec.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/fixmap.h>
 #include <asm/apicdef.h>
 #include <asm/ipi.h>
index e48640cfac0c3d1ff25a08713f754e124a51bb1e..6882a735d9c0ad70b0c6386d11f53d5d50673d40 100644 (file)
@@ -7,7 +7,7 @@
 #include <asm/pat.h>
 #include <asm/processor.h>
 
-#include <asm/genapic.h>
+#include <asm/apic.h>
 
 struct cpuid_bit {
        u16 feature;
index ff4d7b9e32e4ff76f829cbbb838e1bbb1981aa2b..c94ba9311e6570febcab9708bcee284149b7dc0e 100644 (file)
@@ -12,7 +12,7 @@
 # include <asm/cacheflush.h>
 #endif
 
-#include <asm/genapic.h>
+#include <asm/apic.h>
 
 #include "cpu.h"
 
index 4b5d13e472d67f5368358782b697f3991d71b936..41f3788ec9b9486c351ead9bdd7205b4431ae3f2 100644 (file)
@@ -26,8 +26,8 @@
 #ifdef CONFIG_X86_LOCAL_APIC
 #include <asm/mpspec.h>
 #include <asm/apic.h>
-#include <asm/genapic.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
+#include <asm/apic.h>
 #include <asm/uv/uv.h>
 #endif
 
index 1f137a87d4bd19a86d1eaa4d47fc840ff9f3dfb3..290f92e2b7c6057f93f650ca4e792c461f3d710f 100644 (file)
@@ -24,7 +24,7 @@
 #ifdef CONFIG_X86_LOCAL_APIC
 #include <asm/mpspec.h>
 #include <asm/apic.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #endif
 
 static void __cpuinit early_init_intel(struct cpuinfo_x86 *c)
index e22d6ed26e610360d28589f0bc6c144fb8db3117..4772e91e82465e3c4dd048d68f5f52fe440fe16a 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/smp.h>
 #include <linux/sysdev.h>
 #include <linux/sysfs.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/mce.h>
 #include <asm/msr.h>
 #include <asm/percpu.h>
index 42f090702f02f0bd173051622e176548267be999..5e8c79e748a65ef02c41c8170c36c26a85e130d3 100644 (file)
@@ -7,7 +7,7 @@
 #include <linux/interrupt.h>
 #include <linux/percpu.h>
 #include <asm/processor.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/msr.h>
 #include <asm/mce.h>
 #include <asm/hw_irq.h>
index f9c92b66dfbe7120db466fe8918dee8f3246aea4..9b60fce09f758d5af0520bccb61445a99aaad693 100644 (file)
@@ -11,7 +11,7 @@
 #include <asm/processor.h>
 #include <asm/system.h>
 #include <asm/msr.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 
 #include <asm/therm_throt.h>
 
index ad7f2a696f4aae577708c00a005b3aeb100f118f..3340cc0f244e33a9b794ea50ef40f9f4e51843bf 100644 (file)
@@ -28,7 +28,7 @@
 #include <asm/reboot.h>
 #include <asm/virtext.h>
 
-#include <asm/genapic.h>
+#include <asm/apic.h>
 
 
 #if defined(CONFIG_SMP) && defined(CONFIG_X86_LOCAL_APIC)
index 23f1df4ce18eee04f195bb66ea2289f7d6afaaf6..6cdfb3e4dc3301b9295a4b763410c4f9b97b95d3 100644 (file)
@@ -40,7 +40,7 @@
 #include <asm/smp.h>
 #include <asm/atomic.h>
 #include <asm/apicdef.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/setup.h>
 
 /*
@@ -387,7 +387,7 @@ void __init es7000_enable_apic_mode(void)
 #include <linux/threads.h>
 #include <linux/cpumask.h>
 #include <asm/mpspec.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/fixmap.h>
 #include <asm/apicdef.h>
 #include <linux/kernel.h>
index ef7886353240f484edea7d674c68d931628d4ad0..91cae6f6e73050c4bd869680a9b788ff2317e94b 100644 (file)
@@ -19,7 +19,7 @@
 #include <linux/dmar.h>
 
 #include <asm/smp.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/ipi.h>
 #include <asm/setup.h>
 
index 36ee760fd1332370956651ac7634e4bf5c19387a..a7d847636487eedea84fc4cd97688cb10d78bf0c 100644 (file)
@@ -17,7 +17,7 @@
 #include <linux/init.h>
 #include <linux/hardirq.h>
 #include <asm/smp.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/ipi.h>
 
 #ifdef CONFIG_ACPI
index dd6e8d6854261a819a6b62543dd47a9d34ab434e..f5e02cffa2643a1f13e017325f0c4319b70f32fd 100644 (file)
@@ -7,7 +7,7 @@
 #include <linux/dmar.h>
 
 #include <asm/smp.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/ipi.h>
 
 DEFINE_PER_CPU(u32, x86_cpu_to_logical_apicid);
index eb1486bb002e34208239b35266e00c7241ad4489..11eb4cb7ca3f50c5fc49e2e93dd27c656c213df9 100644 (file)
@@ -7,7 +7,7 @@
 #include <linux/dmar.h>
 
 #include <asm/smp.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/ipi.h>
 
 static int x2apic_phys;
index 9ae4a92fac8c867cdd222ef5c91a258664828143..c1746a198bde525de0ec80008dfba5a7ee360811 100644 (file)
@@ -22,7 +22,7 @@
 #include <linux/proc_fs.h>
 #include <asm/current.h>
 #include <asm/smp.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/ipi.h>
 #include <asm/pgtable.h>
 #include <asm/uv/uv.h>
index a89878e08a4201da6457bb9666576c5bf31fe3c7..00e6071cefc436a792a71acf571860fe324a1ff6 100644 (file)
@@ -62,7 +62,7 @@
 #include <asm/uv/uv_hub.h>
 #include <asm/uv/uv_irq.h>
 
-#include <asm/genapic.h>
+#include <asm/apic.h>
 
 #define __apicdebuginit(type) static type __init
 
index 1326272cae431a1e03798f1020293d5e0e063a9e..dbf5445727a9d69d5cd02e07ff7c675c916bb0d9 100644 (file)
@@ -15,7 +15,7 @@
 #include <asm/mtrr.h>
 #include <asm/tlbflush.h>
 #include <asm/mmu_context.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/proto.h>
 #include <asm/ipi.h>
 
index 3957776b1930b1668880d011a0cea75118e0e856..f13ca1650aafce84b1ecf5c1e665f1bbf4a9f5c6 100644 (file)
@@ -8,7 +8,7 @@
 #include <linux/smp.h>
 #include <linux/ftrace.h>
 
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/io_apic.h>
 #include <asm/irq.h>
 #include <asm/idle.h>
index 4beb9a13873d12c2461e7a448f032f179e1a3c9c..e4ac7c80e2df0095069bf6f4f0cec1a3d4ee808d 100644 (file)
@@ -212,7 +212,7 @@ bool handle_irq(unsigned irq, struct pt_regs *regs)
 }
 
 #ifdef CONFIG_HOTPLUG_CPU
-#include <asm/genapic.h>
+#include <asm/apic.h>
 
 /* A cpu has been removed from cpu_online_mask.  Reset irq affinities. */
 void fixup_irqs(void)
index 5c4f554838499f4b18d1fb15359a629aa39dcd85..eedfaebe1063d37ed03bc739322eee014eddf8fc 100644 (file)
@@ -46,7 +46,7 @@
 #include <asm/apicdef.h>
 #include <asm/system.h>
 
-#include <asm/genapic.h>
+#include <asm/apic.h>
 
 /*
  * Put the error code here just in case the user cares:
index 2007644531957f04c372fb498b65aa66fb830cf4..7f4d2586972e472a896bf8c7870c42429e343f4a 100644 (file)
@@ -29,7 +29,7 @@
 #include <asm/setup.h>
 #include <asm/smp.h>
 
-#include <asm/genapic.h>
+#include <asm/apic.h>
 /*
  * Checksum an MP configuration block.
  */
index 48b9ca5e088c0a9d9d100fe244caf1a4a8f531ac..bdfad80c3cf196e752f8cf16ce8a3f37ed096c6c 100644 (file)
@@ -11,7 +11,7 @@
  *  Mikael Pettersson  : PM converted to driver model. Disable/enable API.
  */
 
-#include <asm/genapic.h>
+#include <asm/apic.h>
 
 #include <linux/nmi.h>
 #include <linux/mm.h>
index f0f0c2f0596b359f955502d19422e3d5da4085b7..5a2d75d1fd4449a9ab79afbb789b2f7ee46b8aa5 100644 (file)
@@ -31,7 +31,7 @@
 
 #include <asm/processor.h>
 #include <asm/topology.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/numaq.h>
 #include <asm/setup.h>
 #include <asm/e820.h>
@@ -301,7 +301,7 @@ int __init get_memcfg_numaq(void)
 #include <linux/threads.h>
 #include <linux/cpumask.h>
 #include <asm/mpspec.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/fixmap.h>
 #include <asm/apicdef.h>
 #include <asm/ipi.h>
index b3d5d74e52295276194e1a7c42db4c08e35e3cde..be0d554984a72b21a05f29ddb405ced29b42e2b6 100644 (file)
 #include <asm/fixmap.h>
 #include <asm/mpspec.h>
 #include <asm/apicdef.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/setup.h>
 
 #include <linux/threads.h>
 #include <linux/cpumask.h>
 #include <asm/mpspec.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/fixmap.h>
 #include <asm/apicdef.h>
 #include <linux/kernel.h>
 #include <linux/string.h>
 #include <linux/smp.h>
 #include <linux/init.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/ipi.h>
 
 #include <linux/smp.h>
@@ -41,7 +41,7 @@
 #include <asm/e820.h>
 #include <asm/setup.h>
 
-#include <asm/genapic.h>
+#include <asm/apic.h>
 
 #ifdef CONFIG_HOTPLUG_CPU
 #define DEFAULT_SEND_IPI       (1)
index 32e8f0af292c6cb7f6af9782967a468bda6122ca..7c8cd447d5ed520434fac0d5802cc593946857a9 100644 (file)
@@ -24,7 +24,7 @@
 # include <asm/iommu.h>
 #endif
 
-#include <asm/genapic.h>
+#include <asm/apic.h>
 
 /*
  * Power off function, if any
index 43d964411c0de4587b3a8ed8b0179be94b575ebe..deaafd2693ee761c748e7514e261acefef91751a 100644 (file)
@@ -97,7 +97,7 @@
 #include <asm/mmu_context.h>
 #include <asm/proto.h>
 
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/paravirt.h>
 #include <asm/hypervisor.h>
 
index eaaffae31cc03cdfdf18e2604c289da4670fdfee..13f33ea8ccaaf1ae8e23cc2a39f57d84d6d3c910 100644 (file)
@@ -26,7 +26,7 @@
 #include <asm/tlbflush.h>
 #include <asm/mmu_context.h>
 #include <asm/proto.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 /*
  *     Some notes on x86 processor bugs affecting SMP operation:
  *
index b5f2b698973f7de079b23f51552c9bd446f0d5dd..562a9fc3bc342329b9239fcd9e05d4f9d99ed2d7 100644 (file)
 #include <asm/tlbflush.h>
 #include <asm/mtrr.h>
 #include <asm/vmi.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/setup.h>
 #include <asm/uv/uv.h>
 #include <linux/mc146818rtc.h>
 
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/smpboot_hooks.h>
 
 #ifdef CONFIG_X86_32
index 1cf32c325d12dcf520396313f2a004ba5e9e0c0b..eb31ba276bb3cb158a5aab0e875d70ca0df82ecd 100644 (file)
@@ -40,7 +40,7 @@
 #include <asm/mpspec.h>
 #include <asm/apic.h>
 #include <asm/smp.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/fixmap.h>
 #include <asm/apicdef.h>
 #include <asm/ipi.h>
index f396e61bcb344d9448d50350270e1ac987254119..1a7dfa7cb525b5a6bb10fc433e8f28bf52f662a7 100644 (file)
 #include <asm/uv/uv_mmrs.h>
 #include <asm/uv/uv_hub.h>
 #include <asm/uv/uv_bau.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/idle.h>
 #include <asm/tsc.h>
 #include <asm/irq_vectors.h>
 
-#include <asm/genapic.h>
+#include <asm/apic.h>
 
 static struct bau_control      **uv_bau_table_bases __read_mostly;
 static int                     uv_bau_retry_limit __read_mostly;
index 75eb5ec5dd2a770078d518ff7fe54c364367fc4f..aeef529917e44f896d6e05c77c2b6232e84c8361 100644 (file)
@@ -11,7 +11,7 @@
 #include <linux/module.h>
 #include <linux/irq.h>
 
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/uv/uv_irq.h>
 
 static void uv_noop(unsigned int irq)
index 4fd646e6dd4311501d5626d9935c61a75fdd1f3c..5264fea6c28139e6ea97c95ed3a3a4720814aafd 100644 (file)
@@ -32,9 +32,9 @@
 #include <asm/e820.h>
 #include <asm/io.h>
 
-#include <asm/genapic.h>
+#include <asm/apic.h>
 
-#include <asm/genapic.h>
+#include <asm/apic.h>
 
 #include <linux/kernel_stat.h>
 
index a1c7b71dc0d01cf1025cba2539f1655c93b67571..2cc4a90e2cb3ae35e0b81425ef3f41e159f0a1a3 100644 (file)
@@ -32,7 +32,7 @@
 #include <asm/io.h>
 #include <asm/fixmap.h>
 #include <asm/apicdef.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/processor.h>
 #include <asm/timer.h>
 #include <asm/vmi_time.h>
index 2a5e0e6a7c0de4ff1109d9c3b7d03c026cb62bd3..a4791ef412d101e6baab8ba5b07442c3b9ca9001 100644 (file)
@@ -30,7 +30,7 @@
 #include <asm/vmi_time.h>
 #include <asm/arch_hooks.h>
 #include <asm/apicdef.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/timer.h>
 #include <asm/i8253.h>
 #include <asm/irq_vectors.h>
index bc9893f2c3831cb2260f0dae1368a8087064ef36..f3a5305b8adfcf0fc243692287bd9ec4769c977f 100644 (file)
@@ -55,7 +55,7 @@
 #include <linux/lguest_launcher.h>
 #include <linux/virtio_console.h>
 #include <linux/pm.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/lguest.h>
 #include <asm/paravirt.h>
 #include <asm/param.h>
index 15df1baee1005b43758aa1956fe87cb72808849e..574c8bc95ef05c9253214fc71d34371818f1c78e 100644 (file)
@@ -20,7 +20,7 @@
 #include <asm/proto.h>
 #include <asm/numa.h>
 #include <asm/e820.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/uv/uv.h>
 
 int acpi_numa __initdata;
index 14c5af4d11e6535c80bd65f1e918fac972aff083..b641349fe07712dde4b1e250c5599d8b5c2c74ac 100644 (file)
@@ -14,7 +14,7 @@
 DEFINE_PER_CPU_SHARED_ALIGNED(struct tlb_state, cpu_tlbstate)
                        = { &init_mm, 0, };
 
-#include <asm/genapic.h>
+#include <asm/apic.h>
 /*
  *     Smarter SMP flushing macros.
  *             c/o Linus Torvalds.
index a32a5c7a8ef62364e3b14c153207cbf85b2f69e6..202864ad49a7e5bf2a6574922d7cd938dd023fd9 100644 (file)
@@ -19,7 +19,7 @@
 #include <linux/cpu.h>
 #include <asm/nmi.h>
 #include <asm/msr.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 
 #include "op_counter.h"
 #include "op_x86_model.h"
index 09a237bc9ef66847a1909d70a331bde1ec67a3e5..4c4a51c90bc26f31cfc192adf2fb341ba7fcc754 100644 (file)
@@ -14,7 +14,7 @@
 #include <linux/nmi.h>
 #include <asm/msr.h>
 #include <asm/fixmap.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 
 
 #include "op_x86_model.h"
index 5ebd8f605d765a1fbe3afca0035756b98f1d5da9..e9f80c744cf3409d72f77dd9044ec1dd90534609 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/slab.h>
 #include <asm/ptrace.h>
 #include <asm/msr.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/nmi.h>
 #include <asm/intel_arch_perfmon.h>
 
index 5601e829c38726dc1187fef6ef834da2ad50d217..8eb295e116f626293e7219477f280b52b6aa765e 100644 (file)
@@ -5,7 +5,7 @@
 #include <linux/pci.h>
 #include <linux/init.h>
 #include <linux/nodemask.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/mpspec.h>
 #include <asm/pci_x86.h>
 
index e3dd3fb672901f19b54ccaea673844cb73527a38..86497d5f44cd96177744a0ac2a654cc161c34adf 100644 (file)
@@ -36,7 +36,7 @@
 #include <xen/hvc-console.h>
 
 #include <asm/paravirt.h>
-#include <asm/genapic.h>
+#include <asm/apic.h>
 #include <asm/page.h>
 #include <asm/xen/hypercall.h>
 #include <asm/xen/hypervisor.h>