Merge commit 'v2.6.28-rc8' into x86/mm
[linux-2.6-block.git] / arch / x86 / include / asm / numaq / apicdef.h
CommitLineData
edb181ac
YL
1#ifndef __ASM_NUMAQ_APICDEF_H
2#define __ASM_NUMAQ_APICDEF_H
1da177e4
LT
3
4
5#define APIC_ID_MASK (0xF<<24)
6
7static 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
edb181ac 14#endif