diff options
Diffstat (limited to 'arch/x86/include/asm/apicdef.h')
-rw-r--r-- | arch/x86/include/asm/apicdef.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/x86/include/asm/apicdef.h b/arch/x86/include/asm/apicdef.h index 1a6454ef7f6c..63134e31e8b9 100644 --- a/arch/x86/include/asm/apicdef.h +++ b/arch/x86/include/asm/apicdef.h | |||
@@ -132,8 +132,12 @@ | |||
132 | #define APIC_BASE_MSR 0x800 | 132 | #define APIC_BASE_MSR 0x800 |
133 | #define X2APIC_ENABLE (1UL << 10) | 133 | #define X2APIC_ENABLE (1UL << 10) |
134 | 134 | ||
135 | /* get MAX_IO_APICS */ | 135 | #ifdef CONFIG_X86_32 |
136 | #include <asm/apicnum.h> | 136 | # define MAX_IO_APICS 64 |
137 | #else | ||
138 | # define MAX_IO_APICS 128 | ||
139 | # define MAX_LOCAL_APIC 32768 | ||
140 | #endif | ||
137 | 141 | ||
138 | /* | 142 | /* |
139 | * All x86-64 systems are xAPIC compatible. | 143 | * All x86-64 systems are xAPIC compatible. |