diff options
Diffstat (limited to 'arch/x86/kernel/mpparse_32.c')
-rw-r--r-- | arch/x86/kernel/mpparse_32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/mpparse_32.c b/arch/x86/kernel/mpparse_32.c index cd4522b3e90e..4b46a37e0634 100644 --- a/arch/x86/kernel/mpparse_32.c +++ b/arch/x86/kernel/mpparse_32.c | |||
@@ -802,7 +802,7 @@ void __init mp_register_lapic_address(u64 address) | |||
802 | set_fixmap_nocache(FIX_APIC_BASE, mp_lapic_addr); | 802 | set_fixmap_nocache(FIX_APIC_BASE, mp_lapic_addr); |
803 | 803 | ||
804 | if (boot_cpu_physical_apicid == -1U) | 804 | if (boot_cpu_physical_apicid == -1U) |
805 | boot_cpu_physical_apicid = GET_APIC_ID(apic_read(APIC_ID)); | 805 | boot_cpu_physical_apicid = GET_APIC_ID(read_apic_id()); |
806 | 806 | ||
807 | Dprintk("Boot CPU = %d\n", boot_cpu_physical_apicid); | 807 | Dprintk("Boot CPU = %d\n", boot_cpu_physical_apicid); |
808 | } | 808 | } |