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/setup.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/setup.c')
-rw-r--r-- | arch/x86/kernel/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index b2da0b1d15e7..6b588d6b3889 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -599,7 +599,7 @@ static int __init setup_elfcorehdr(char *arg) | |||
599 | early_param("elfcorehdr", setup_elfcorehdr); | 599 | early_param("elfcorehdr", setup_elfcorehdr); |
600 | #endif | 600 | #endif |
601 | 601 | ||
602 | static int __init default_update_genapic(void) | 602 | static int __init default_update_apic(void) |
603 | { | 603 | { |
604 | #ifdef CONFIG_SMP | 604 | #ifdef CONFIG_SMP |
605 | if (!apic->wakeup_cpu) | 605 | if (!apic->wakeup_cpu) |
@@ -610,7 +610,7 @@ static int __init default_update_genapic(void) | |||
610 | } | 610 | } |
611 | 611 | ||
612 | static struct x86_quirks default_x86_quirks __initdata = { | 612 | static struct x86_quirks default_x86_quirks __initdata = { |
613 | .update_genapic = default_update_genapic, | 613 | .update_apic = default_update_apic, |
614 | }; | 614 | }; |
615 | 615 | ||
616 | struct x86_quirks *x86_quirks __initdata = &default_x86_quirks; | 616 | struct x86_quirks *x86_quirks __initdata = &default_x86_quirks; |