summaryrefslogtreecommitdiffstats
path: root/include/asm-x86/mach-generic/mach_apicdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/mach-generic/mach_apicdef.h')
-rw-r--r--include/asm-x86/mach-generic/mach_apicdef.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asm-x86/mach-generic/mach_apicdef.h b/include/asm-x86/mach-generic/mach_apicdef.h
new file mode 100644
index 0000000..28ed989
--- /dev/null
+++ b/include/asm-x86/mach-generic/mach_apicdef.h
@@ -0,0 +1,11 @@
+#ifndef _GENAPIC_MACH_APICDEF_H
+#define _GENAPIC_MACH_APICDEF_H 1
+
+#ifndef APIC_DEFINITION
+#include <asm/genapic.h>
+
+#define GET_APIC_ID (genapic->get_apic_id)
+#define APIC_ID_MASK (genapic->apic_id_mask)
+#endif
+
+#endif
OpenPOWER on IntegriCloud