x86, acpi: Add MAX_LOCAL_APIC for 32bit
authorYinghai Lu <yinghai@kernel.org>
Fri, 17 Dec 2010 03:09:24 +0000 (19:09 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 23 Dec 2010 21:15:53 +0000 (13:15 -0800)
commit56d91f132c9be66e98cce1b1e77a28027048bb26
tree4346a55e9aaa80c0a90a6fdd9d50954b3914e09f
parenta38c5380ef9f088be9f49b6e4c5d80af8b1b5cd4
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>
arch/x86/include/asm/apicdef.h
arch/x86/include/asm/mpspec.h
arch/x86/kernel/apic/apic.c