5 #ifndef _ASM_X86_X2APIC_H
6 #define _ASM_X86_X2APIC_H
12 static int x2apic_apic_id_valid(
int apicid)
17 static int x2apic_apic_id_registered(
void)
25 unsigned long cfg = __prepare_ICR(0, vector, dest);
26 native_x2apic_icr_write(cfg, apicid);
29 static unsigned int x2apic_get_apic_id(
unsigned long id)
34 static unsigned long x2apic_set_apic_id(
unsigned int id)
41 return initial_apicid >> index_msb;
44 static void x2apic_send_IPI_self(
int vector)