diff options
Diffstat (limited to 'include/asm-x86/mach-default/mach_apic.h')
-rw-r--r-- | include/asm-x86/mach-default/mach_apic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-x86/mach-default/mach_apic.h b/include/asm-x86/mach-default/mach_apic.h index 1f56e7d5bfdd..14217a970c5e 100644 --- a/include/asm-x86/mach-default/mach_apic.h +++ b/include/asm-x86/mach-default/mach_apic.h | |||
@@ -54,7 +54,7 @@ static inline void init_apic_ldr(void) | |||
54 | 54 | ||
55 | static inline int apic_id_registered(void) | 55 | static inline int apic_id_registered(void) |
56 | { | 56 | { |
57 | return physid_isset(GET_APIC_ID(apic_read(APIC_ID)), phys_cpu_present_map); | 57 | return physid_isset(GET_APIC_ID(read_apic_id()), phys_cpu_present_map); |
58 | } | 58 | } |
59 | 59 | ||
60 | static inline unsigned int cpu_mask_to_apicid(cpumask_t cpumask) | 60 | static inline unsigned int cpu_mask_to_apicid(cpumask_t cpumask) |