commit | 0d358f22f6c8f03ab215eee8d52b74f78cc3c7db | [log] [tgz] |
---|---|---|
author | Yinghai Lu <Yinghai.Lu@Sun.COM> | Tue Feb 19 03:20:41 2008 -0800 |
committer | Ingo Molnar <mingo@elte.hu> | Sat Apr 26 23:41:04 2008 +0200 |
tree | a60a05c5b5a2727ef6e82b273aafe2121373d93d | |
parent | d39398a333ddc490f842ccdd4b76c9674682aa5d [diff] |
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>