x86, acpi: Skip acpi x2apic entries if the x2apic feature is not present
authorYinghai Lu <yinghai@kernel.org>
Thu, 22 Dec 2011 01:45:16 +0000 (17:45 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 23 Dec 2011 19:00:50 +0000 (11:00 -0800)
commita35fd28256e7736cc84af8931a16224f0bfaaf6c
tree637b536f651b756ce3a83478ef5a42c15b67709f
parente8524b2f43ab6747518aef81c709d104c478b1cd
x86, acpi: Skip acpi x2apic entries if the x2apic feature is not present

If the x2apic feature is not present (either the cpu is not capable of it
or the user has disabled the feature using boot-parameter etc), ignore the
x2apic MADT and SRAT entries provided by the ACPI tables.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/20111222014632.540896503@sbsiddha-desk.sc.intel.com
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/kernel/acpi/boot.c
arch/x86/mm/srat.c