x86/PCI: set_pci_bus_resources_arch_default cleanups
commit0e94ecd098347874e776f7818728613a335880d1
authorYinghai Lu <yinghai@kernel.org>
Sat, 18 Apr 2009 17:11:25 +0000 (18 10:11 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 22 Apr 2009 21:47:46 +0000 (22 14:47 -0700)
treef81988c89b21e1603e3a8df33e98453dcbfaaadb
parent0bb1be3e30bfc3e09fa0ff1e887ac7da4a16c3a2
x86/PCI: set_pci_bus_resources_arch_default cleanups

Rename set_pci_bus_resources_arch_default to x86_pci_root_bus_res_quirks, move
the weak version from common.c to i386.c, and before calling, make sure it's a
root bus.

Reviewed-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/include/asm/topology.h
arch/x86/pci/amd_bus.c
arch/x86/pci/common.c
arch/x86/pci/i386.c