mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
x86: uv fix
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
parent
ac23d4ee3f
commit
a24eae88ad
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ static inline int logical_smp_processor_id(void)
|
|||
return GET_APIC_LOGICAL_ID(*(u32 *)(APIC_BASE + APIC_LDR));
|
||||
}
|
||||
|
||||
#ifdef CONFIG_X86_32_SMP
|
||||
#ifndef CONFIG_X86_64
|
||||
static inline unsigned int read_apic_id(void)
|
||||
{
|
||||
return *(u32 *)(APIC_BASE + APIC_ID);
|
||||
|
|
|
|||
Loading…
Reference in a new issue