diff options
author | Jack Steiner <steiner@sgi.com> | 2008-03-28 14:12:02 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-04-17 17:41:33 +0200 |
commit | 05f2d12c3563dea8c81b301f9f3cf7919af23b13 (patch) | |
tree | d696f29159d311d8d1fde7f6bd1b01261ca713b9 /arch/x86/kernel/mpparse_32.c | |
parent | a5c15d419d4b68535222b51f9054dd08d5e67470 (diff) | |
download | kernel-crypto-05f2d12c3563dea8c81b301f9f3cf7919af23b13.tar.gz kernel-crypto-05f2d12c3563dea8c81b301f9f3cf7919af23b13.tar.xz kernel-crypto-05f2d12c3563dea8c81b301f9f3cf7919af23b13.zip |
x86: change GET_APIC_ID() from an inline function to an out-of-line function
Introduce a function to read the local APIC_ID.
This change is in preparation for additional changes to
the APICID functions that will come in a later patch.
Signed-off-by: Jack Steiner <steiner@sgi.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
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 cd4522b3e90..4b46a37e063 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) set_fixmap_nocache(FIX_APIC_BASE, mp_lapic_addr); if (boot_cpu_physical_apicid == -1U) - boot_cpu_physical_apicid = GET_APIC_ID(apic_read(APIC_ID)); + boot_cpu_physical_apicid = GET_APIC_ID(read_apic_id()); Dprintk("Boot CPU = %d\n", boot_cpu_physical_apicid); } |