mach_apicdef.h 302 字节
Newer Older
V
Vegard Nossum 已提交
1 2
#ifndef ASM_X86__MACH_ES7000__MACH_APICDEF_H
#define ASM_X86__MACH_ES7000__MACH_APICDEF_H
L
Linus Torvalds 已提交
3

4
#define		APIC_ID_MASK		(0xFF<<24)
L
Linus Torvalds 已提交
5 6 7

static inline unsigned get_apic_id(unsigned long x) 
{ 
8
	return (((x)>>24)&0xFF);
L
Linus Torvalds 已提交
9 10 11 12
} 

#define		GET_APIC_ID(x)	get_apic_id(x)

V
Vegard Nossum 已提交
13
#endif /* ASM_X86__MACH_ES7000__MACH_APICDEF_H */