diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2008-05-12 09:43:35 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-07-08 03:13:10 -0400 |
commit | 431ee79db0a9552314d787446044973a8176b57d (patch) | |
tree | 20d50cecd1029368aa3d23db5c7fe8789b6fe4c6 /arch/x86/kernel/apic_64.c | |
parent | 7223daf5e1a6298e459db84442adc04d68a6a42d (diff) |
x86: apic_64.c fix sparse warnings about shadowed variables
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/apic_64.c')
-rw-r--r-- | arch/x86/kernel/apic_64.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/x86/kernel/apic_64.c b/arch/x86/kernel/apic_64.c index 0633cfd0dc2..07fda23a9f7 100644 --- a/arch/x86/kernel/apic_64.c +++ b/arch/x86/kernel/apic_64.c | |||
@@ -875,7 +875,7 @@ static int __init detect_init_APIC(void) | |||
875 | 875 | ||
876 | void __init early_init_lapic_mapping(void) | 876 | void __init early_init_lapic_mapping(void) |
877 | { | 877 | { |
878 | unsigned long apic_phys; | 878 | unsigned long phys_addr; |
879 | 879 | ||
880 | /* | 880 | /* |
881 | * If no local APIC can be found then go out | 881 | * If no local APIC can be found then go out |
@@ -884,11 +884,11 @@ void __init early_init_lapic_mapping(void) | |||
884 | if (!smp_found_config) | 884 | if (!smp_found_config) |
885 | return; | 885 | return; |
886 | 886 | ||
887 | apic_phys = mp_lapic_addr; | 887 | phys_addr = mp_lapic_addr; |
888 | 888 | ||
889 | set_fixmap_nocache(FIX_APIC_BASE, apic_phys); | 889 | set_fixmap_nocache(FIX_APIC_BASE, phys_addr); |
890 | apic_printk(APIC_VERBOSE, "mapped APIC to %16lx (%16lx)\n", | 890 | apic_printk(APIC_VERBOSE, "mapped APIC to %16lx (%16lx)\n", |
891 | APIC_BASE, apic_phys); | 891 | APIC_BASE, phys_addr); |
892 | 892 | ||
893 | /* | 893 | /* |
894 | * Fetch the APIC ID of the BSP in case we have a | 894 | * Fetch the APIC ID of the BSP in case we have a |