]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita9392067c543a460edef1d70812c7b5c4d2e5b51
tree637b536f651b756ce3a83478ef5a42c15b67709f
parent24ae6eb605ce4a88c2c35f7fa66515db72480585
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