aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mach-generic/mach_apicdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/mach-generic/mach_apicdef.h')
-rw-r--r--arch/x86/include/asm/mach-generic/mach_apicdef.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/x86/include/asm/mach-generic/mach_apicdef.h b/arch/x86/include/asm/mach-generic/mach_apicdef.h
new file mode 100644
index 000000000000..1657f38b8f27
--- /dev/null
+++ b/arch/x86/include/asm/mach-generic/mach_apicdef.h
@@ -0,0 +1,11 @@
1#ifndef ASM_X86__MACH_GENERIC__MACH_APICDEF_H
2#define ASM_X86__MACH_GENERIC__MACH_APICDEF_H
3
4#ifndef APIC_DEFINITION
5#include <asm/genapic.h>
6
7#define GET_APIC_ID (genapic->get_apic_id)
8#define APIC_ID_MASK (genapic->apic_id_mask)
9#endif
10
11#endif /* ASM_X86__MACH_GENERIC__MACH_APICDEF_H */