From: Yinghai Lu Date: Tue, 19 Feb 2008 11:20:41 +0000 (-0800) Subject: driver core: try parent numa_node at first before using default X-Git-Tag: v2.6.26-rc1~369^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d358f22f6c8f03ab215eee8d52b74f78cc3c7db;p=pandora-kernel.git 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 Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed