diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-02-17 10:28:46 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-17 11:53:57 -0500 |
commit | be163a159b223e94b3180afdd47a8d468eb9a492 (patch) | |
tree | d071a8b0a6d56e84c274bc9a2b1f7d302b0ed524 /arch/x86/kernel/genapic_64.c | |
parent | ab6fb7c0b03e2c3286f316c840347be8b9ee3d9f (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.c | 18 |
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 | ||
26 | extern struct genapic apic_flat; | 26 | extern struct apic apic_flat; |
27 | extern struct genapic apic_physflat; | 27 | extern struct apic apic_physflat; |
28 | extern struct genapic apic_x2xpic_uv_x; | 28 | extern struct apic apic_x2xpic_uv_x; |
29 | extern struct genapic apic_x2apic_phys; | 29 | extern struct apic apic_x2apic_phys; |
30 | extern struct genapic apic_x2apic_cluster; | 30 | extern struct apic apic_x2apic_cluster; |
31 | 31 | ||
32 | struct genapic __read_mostly *apic = &apic_flat; | 32 | struct apic __read_mostly *apic = &apic_flat; |
33 | EXPORT_SYMBOL_GPL(apic); | 33 | EXPORT_SYMBOL_GPL(apic); |
34 | 34 | ||
35 | static struct genapic *apic_probe[] __initdata = { | 35 | static 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. */ |