android_kernel_xiaomi_sdm845/arch/x86/include/asm/bigsmp/apicdef.h
Ingo Molnar 94af187552 x86, apic: get rid of *_APIC_ID_MASK definitions
Impact: cleanup

Remove the *_APIC_ID_MASK subarch definitions and move them straight
to the genapic driver initialization code.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-01-28 23:20:30 +01:00

10 lines
156 B
C

#ifndef __ASM_MACH_APICDEF_H
#define __ASM_MACH_APICDEF_H
static inline unsigned bigsmp_get_apic_id(unsigned long x)
{
return (x >> 24) & 0xFF;
}
#endif