summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid John <davidjon@xenontk.org>2010-01-04 15:58:57 +0100
committerJesse Barnes <jbarnes@virtuousgeek.org>2010-01-05 00:10:56 +0100
commit6be954d1f91b81ca85c74792b13654069278c577 (patch)
treec1e769d05028d8b8dc2058b10e7d0be01a9b2be5 /include
parentPCI: AER: fix aer inject result in kernel oops (diff)
downloadlinux-6be954d1f91b81ca85c74792b13654069278c577.tar.xz
linux-6be954d1f91b81ca85c74792b13654069278c577.zip
PCI: Check the node argument passed to cpumask_of_node
Commit e0cd516 "PCI: derive nearby CPUs from device's instead of bus' NUMA information" causes an null pointer dereference when reading from the sysfs attributes local_cpu* on Intel machines with no ACPI NUMA proximity info, since dev->numa_node gets set to -1 for all PCI devices, which then gets passed to cpumask_of_node. Add a check to prevent this. Signed-off-by: David John <davidjon@xenontk.org> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions