[BACK]Return to mach_apicdef.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / asm-x86 / mach-summit

File: [Development] / linux-2.6-xfs / include / asm-x86 / mach-summit / mach_apicdef.h (download)

Revision 1.1, Mon Dec 3 16:26:37 2007 UTC (9 years, 10 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
CVS Tags: HEAD

Merge up to 2.6.24-rc3
Merge of 2.6.x-xfs-melb:linux:30183b by kenmcd.

#ifndef __ASM_MACH_APICDEF_H
#define __ASM_MACH_APICDEF_H

#define		APIC_ID_MASK		(0xFF<<24)

static inline unsigned get_apic_id(unsigned long x) 
{ 
	return (((x)>>24)&0xFF);
} 

#define		GET_APIC_ID(x)	get_apic_id(x)

#endif