]> git.karo-electronics.de Git - linux-beck.git/blob - include/asm-x86/mach-numaq/mach_apicdef.h
x86: consolidate header guards
[linux-beck.git] / include / asm-x86 / mach-numaq / mach_apicdef.h
1 #ifndef ASM_X86__MACH_NUMAQ__MACH_APICDEF_H
2 #define ASM_X86__MACH_NUMAQ__MACH_APICDEF_H
3
4
5 #define APIC_ID_MASK (0xF<<24)
6
7 static inline unsigned get_apic_id(unsigned long x)
8 {
9                 return (((x)>>24)&0x0F);
10 }
11
12 #define         GET_APIC_ID(x)  get_apic_id(x)
13
14 #endif /* ASM_X86__MACH_NUMAQ__MACH_APICDEF_H */