]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/x86/include/asm/numaq/apicdef.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
[linux-2.6-omap-h63xx.git] / arch / x86 / include / asm / numaq / apicdef.h
1 #ifndef __ASM_NUMAQ_APICDEF_H
2 #define __ASM_NUMAQ_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