aboutsummaryrefslogtreecommitdiff
path: root/include/asm-x86_64/apicdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86_64/apicdef.h')
-rw-r--r--include/asm-x86_64/apicdef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86_64/apicdef.h b/include/asm-x86_64/apicdef.h
index fb1c99ac669..decaa2d540e 100644
--- a/include/asm-x86_64/apicdef.h
+++ b/include/asm-x86_64/apicdef.h
@@ -13,6 +13,7 @@
#define APIC_ID 0x20
#define APIC_ID_MASK (0xFFu<<24)
#define GET_APIC_ID(x) (((x)>>24)&0xFFu)
+#define SET_APIC_ID(x) (((x)<<24))
#define APIC_LVR 0x30
#define APIC_LVR_MASK 0xFF00FF
#define GET_APIC_VERSION(x) ((x)&0xFFu)