aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/genapic_64.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-02-17 10:28:46 -0500
committerIngo Molnar <mingo@elte.hu>2009-02-17 11:53:57 -0500
commitbe163a159b223e94b3180afdd47a8d468eb9a492 (patch)
treed071a8b0a6d56e84c274bc9a2b1f7d302b0ed524 /arch/x86/kernel/genapic_64.c
parentab6fb7c0b03e2c3286f316c840347be8b9ee3d9f (diff)
x86, apic: rename 'genapic' to 'apic'
Impact: cleanup Now that all APIC code is consolidated there's nothing 'gen' about apics anymore - so rename 'struct genapic' to 'struct apic'. This shortens the code and is nicer to read as well. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/genapic_64.c')
-rw-r--r--arch/x86/kernel/genapic_64.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/x86/kernel/genapic_64.c b/arch/x86/kernel/genapic_64.c
index 91cae6f6e730..70935dd904db 100644
--- a/arch/x86/kernel/genapic_64.c
+++ b/arch/x86/kernel/genapic_64.c
@@ -23,16 +23,16 @@
23#include <asm/ipi.h> 23#include <asm/ipi.h>
24#include <asm/setup.h> 24#include <asm/setup.h>
25 25
26extern struct genapic apic_flat; 26extern struct apic apic_flat;
27extern struct genapic apic_physflat; 27extern struct apic apic_physflat;
28extern struct genapic apic_x2xpic_uv_x; 28extern struct apic apic_x2xpic_uv_x;
29extern struct genapic apic_x2apic_phys; 29extern struct apic apic_x2apic_phys;
30extern struct genapic apic_x2apic_cluster; 30extern struct apic apic_x2apic_cluster;
31 31
32struct genapic __read_mostly *apic = &apic_flat; 32struct apic __read_mostly *apic = &apic_flat;
33EXPORT_SYMBOL_GPL(apic); 33EXPORT_SYMBOL_GPL(apic);
34 34
35static struct genapic *apic_probe[] __initdata = { 35static struct apic *apic_probe[] __initdata = {
36#ifdef CONFIG_X86_UV 36#ifdef CONFIG_X86_UV
37 &apic_x2apic_uv_x, 37 &apic_x2apic_uv_x,
38#endif 38#endif
@@ -62,8 +62,8 @@ void __init default_setup_apic_routing(void)
62 printk(KERN_INFO "Setting APIC routing to %s\n", apic->name); 62 printk(KERN_INFO "Setting APIC routing to %s\n", apic->name);
63 } 63 }
64 64
65 if (x86_quirks->update_genapic) 65 if (x86_quirks->update_apic)
66 x86_quirks->update_genapic(); 66 x86_quirks->update_apic();
67} 67}
68 68
69/* Same for both flat and physical. */ 69/* Same for both flat and physical. */