1 #ifndef _ASM_X86_MACH_DEFAULT_MACH_APICDEF_H
2 #define _ASM_X86_MACH_DEFAULT_MACH_APICDEF_H
7 #define SET_APIC_ID(x) (apic->set_apic_id(x))
9 #define DEFAULT_APIC_ID_MASK (0x0F<<24)
11 static inline unsigned default_get_apic_id(unsigned long x
)
13 unsigned int ver
= GET_APIC_VERSION(apic_read(APIC_LVR
));
16 return (x
>> 24) & 0xFF;
18 return (x
>> 24) & 0x0F;
23 #endif /* _ASM_X86_MACH_DEFAULT_MACH_APICDEF_H */
This page took 0.050728 seconds and 5 git commands to generate.