summaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2007-07-10 18:54:40 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-12 01:02:13 +0200
commit36e235901f90fb83215be43cbd8f1ca14661ea40 (patch)
tree6a991716468ccf99b83934bfd91e7f4dcdd6c1ec /arch/ppc
parentPCI: limit pci_get_bus_and_slot to domain 0 (diff)
downloadlinux-36e235901f90fb83215be43cbd8f1ca14661ea40.tar.xz
linux-36e235901f90fb83215be43cbd8f1ca14661ea40.zip
PCI: Only build PCI syscalls on architectures that want them
The PCI syscalls are built on every architecture except X86, but only a few have ever hooked them up. Use a new Kconfig symbol to save a couple of kB on the architectures that have never used the syscalls. Tested on x86 and ia64 only. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/Kconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig
index ccce2a4a1522..6bdeeb70b157 100644
--- a/arch/ppc/Kconfig
+++ b/arch/ppc/Kconfig
@@ -1237,8 +1237,10 @@ config PCI
infrastructure code to support PCI bus devices.
config PCI_DOMAINS
- bool
- default PCI
+ def_bool PCI
+
+config PCI_SYSCALL
+ def_bool PCI
config MPC83xx_PCI2
bool "Support for 2nd PCI host controller"