aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/apicdef.h
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2010-12-16 22:09:24 -0500
committerH. Peter Anvin <hpa@linux.intel.com>2010-12-23 16:15:53 -0500
commit56d91f132c9be66e98cce1b1e77a28027048bb26 (patch)
tree4346a55e9aaa80c0a90a6fdd9d50954b3914e09f /arch/x86/include/asm/apicdef.h
parenta38c5380ef9f088be9f49b6e4c5d80af8b1b5cd4 (diff)
x86, acpi: Add MAX_LOCAL_APIC for 32bit
We should use MAX_LOCAL_APIC for max apic ids and MAX_APICS as number of local apics. Also apic_version[] array should use MAX_LOCAL_APICs. Signed-off-by: Yinghai Lu <yinghai@kernel.org> LKML-Reference: <4D0AD464.2020408@kernel.org> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'arch/x86/include/asm/apicdef.h')
-rw-r--r--arch/x86/include/asm/apicdef.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/apicdef.h b/arch/x86/include/asm/apicdef.h
index a859ca461fb0..47a30ff8e517 100644
--- a/arch/x86/include/asm/apicdef.h
+++ b/arch/x86/include/asm/apicdef.h
@@ -145,6 +145,7 @@
145 145
146#ifdef CONFIG_X86_32 146#ifdef CONFIG_X86_32
147# define MAX_IO_APICS 64 147# define MAX_IO_APICS 64
148# define MAX_LOCAL_APIC 256
148#else 149#else
149# define MAX_IO_APICS 128 150# define MAX_IO_APICS 128
150# define MAX_LOCAL_APIC 32768 151# define MAX_LOCAL_APIC 32768