summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/es7000/apicdef.h
blob: 476da0c7f5cc5458a360ec409a4da6f61aa040f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef __ASM_ES7000_APICDEF_H
#define __ASM_ES7000_APICDEF_H

#define		ES7000_APIC_ID_MASK		(0xFF<<24)

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

#endif