]> err.no Git - linux-2.6/commit
driver core: try parent numa_node at first before using default
authorYinghai Lu <Yinghai.Lu@Sun.COM>
Tue, 19 Feb 2008 11:20:41 +0000 (03:20 -0800)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Apr 2008 21:41:04 +0000 (23:41 +0200)
commit0d358f22f6c8f03ab215eee8d52b74f78cc3c7db
treea60a05c5b5a2727ef6e82b273aafe2121373d93d
parentd39398a333ddc490f842ccdd4b76c9674682aa5d
driver core: try parent numa_node at first before using default

in the device_add, we try to use use parent numa_node.
need to make sure pci root bus's bridge device numa_node is set.
then we could use device->numa_node direclty for all device.
and don't need to call pcibus_to_node().

Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/base/core.c
drivers/pci/probe.c