summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/numaq/apicdef.h
blob: cd927d5bd505461b8ee64a8fa750ee0e94a6cbc9 (plain)
1
2
3
4
5
6
7
8
9
#ifndef __ASM_NUMAQ_APICDEF_H
#define __ASM_NUMAQ_APICDEF_H

static inline unsigned int numaq_get_apic_id(unsigned long x)
{
	return (x >> 24) & 0x0F;
}

#endif
OpenPOWER on IntegriCloud