mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 21:38:32 +08:00
f363d16fbb
Strip __cpuinit[data] from Node <-> PXM routines and supporting data structures. Also make pxm_to_node_map and node_to_pxm_map local to the numa acpi module. This fixes a bug triggered by the following conditions: - boot on a machine with a SLIT table defined - kernel is configured w/ CONFIG_HOTPLUG_CPU=n - cat /sys/devices/system/node/node*/distance This will cause an oops by calling into a freed memory section. In particular, on x86_64, __node_distance calls node_to_pxm(). Signed-off-by: Aaron Durbin <adurbin@google.com> Cc: Len Brown <lenb@kernel.org> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
platform | ||
acconfig.h | ||
acdebug.h | ||
acdisasm.h | ||
acdispat.h | ||
acevents.h | ||
acexcep.h | ||
acglobal.h | ||
achware.h | ||
acinterp.h | ||
aclocal.h | ||
acmacros.h | ||
acnames.h | ||
acnamesp.h | ||
acobject.h | ||
acopcode.h | ||
acoutput.h | ||
acparser.h | ||
acpi_bus.h | ||
acpi_drivers.h | ||
acpi_numa.h | ||
acpi.h | ||
acpiosxf.h | ||
acpixf.h | ||
acresrc.h | ||
acstruct.h | ||
actables.h | ||
actbl1.h | ||
actbl.h | ||
actypes.h | ||
acutils.h | ||
amlcode.h | ||
amlresrc.h | ||
container.h | ||
pdc_intel.h | ||
processor.h |