aboutsummaryrefslogtreecommitdiff
path: root/include/asm-i386/mach-bigsmp/mach_apicdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/mach-bigsmp/mach_apicdef.h')
-rw-r--r--include/asm-i386/mach-bigsmp/mach_apicdef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-i386/mach-bigsmp/mach_apicdef.h b/include/asm-i386/mach-bigsmp/mach_apicdef.h
index 23e58b317c7..a58ab5a75c8 100644
--- a/include/asm-i386/mach-bigsmp/mach_apicdef.h
+++ b/include/asm-i386/mach-bigsmp/mach_apicdef.h
@@ -1,11 +1,11 @@
#ifndef __ASM_MACH_APICDEF_H
#define __ASM_MACH_APICDEF_H
-#define APIC_ID_MASK (0x0F<<24)
+#define APIC_ID_MASK (0xFF<<24)
static inline unsigned get_apic_id(unsigned long x)
{
- return (((x)>>24)&0x0F);
+ return (((x)>>24)&0xFF);
}
#define GET_APIC_ID(x) get_apic_id(x)