Revision 3146b39c185f8a436d430132457e84fa1d8f8208 authored by Linus Torvalds on 02 October 2007, 03:24:52 UTC, committed by Linus Torvalds on 02 October 2007, 03:24:52 UTC
No, I didn't want to do this, but we had more stuff go in after -rc8
than we had in the previous -rc. Gaah.
1 parent a347017
Raw File
mach_apicdef.h
#ifndef __ASM_MACH_APICDEF_H
#define __ASM_MACH_APICDEF_H

#define         APIC_ID_MASK            (0xF<<24)

static inline unsigned get_apic_id(unsigned long x)
{
	        return (((x)>>24)&0xF);
}
#define         GET_APIC_ID(x)  get_apic_id(x)

#endif
back to top