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

#define NUMAQ_APIC_ID_MASK (0xF<<24)

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

#endif