aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/mach-default/mach_apicdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86/mach-default/mach_apicdef.h')
-rw-r--r--include/asm-x86/mach-default/mach_apicdef.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-x86/mach-default/mach_apicdef.h b/include/asm-x86/mach-default/mach_apicdef.h
index ae9841319094..7b78275e6d33 100644
--- a/include/asm-x86/mach-default/mach_apicdef.h
+++ b/include/asm-x86/mach-default/mach_apicdef.h
@@ -3,7 +3,12 @@
3 3
4#include <asm/apic.h> 4#include <asm/apic.h>
5 5
6#ifdef CONFIG_X86_64
7#define APIC_ID_MASK (0xFFu<<24)
8#define SET_APIC_ID(x) (((x)<<24))
9#else
6#define APIC_ID_MASK (0xF<<24) 10#define APIC_ID_MASK (0xF<<24)
11#endif
7 12
8static inline unsigned get_apic_id(unsigned long x) 13static inline unsigned get_apic_id(unsigned long x)
9{ 14{