aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/Kconfig
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2007-07-10 10:54:40 -0600
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-11 16:02:13 -0700
commit36e235901f90fb83215be43cbd8f1ca14661ea40 (patch)
tree6a991716468ccf99b83934bfd91e7f4dcdd6c1ec /arch/arm/Kconfig
parentPCI: limit pci_get_bus_and_slot to domain 0 (diff)
downloadlinux-dev-36e235901f90fb83215be43cbd8f1ca14661ea40.tar.xz
linux-dev-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/arm/Kconfig')
-rw-r--r--arch/arm/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 50d9f3e4e0f1..482d33f9ce5b 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -531,6 +531,9 @@ config PCI
information about which PCI hardware does work under Linux and which
doesn't.
+config PCI_SYSCALL
+ def_bool PCI
+
# Select the host bridge type
config PCI_HOST_VIA82C505
bool