aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorBoris Ostrovsky <[email protected]>2016-12-13 04:18:29 +0000
committerThomas Gleixner <[email protected]>2016-12-15 10:32:32 +0000
commitaec03f89e905dca9ce4b061e03ee1da3a3eb3432 (patch)
treeb6da0a16933419e0298371c8108e209b8d77865d /net/unix/af_unix.c
parentx86/acpi: Use proper macro for invalid node (diff)
downloadkernel-aec03f89e905dca9ce4b061e03ee1da3a3eb3432.tar.gz
kernel-aec03f89e905dca9ce4b061e03ee1da3a3eb3432.zip
ACPI/NUMA: Do not map pxm to node when NUMA is turned off
acpi_map_pxm_to_node() unconditially maps nodes even when NUMA is turned off. So acpi_get_node() might return a node > 0, which is fatal when NUMA is disabled as the rest of the kernel assumes that only node 0 exists. Expose numa_off to the acpi code and return NUMA_NO_NODE when it's set. Signed-off-by: Boris Ostrovsky <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions