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

#define APIC_ID_MASK (0xF<<24)

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

#endif