summaryrefslogtreecommitdiffstats
path: root/arch/ia64/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/ia64/Kconfig
parent5463d9f0f323123d96989d318ac9c537158ad0a5 (diff)
downloadop-kernel-dev-36e235901f90fb83215be43cbd8f1ca14661ea40.zip
op-kernel-dev-36e235901f90fb83215be43cbd8f1ca14661ea40.tar.gz
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/ia64/Kconfig')
-rw-r--r--arch/ia64/Kconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig
index de1bff6..db9ddff 100644
--- a/arch/ia64/Kconfig
+++ b/arch/ia64/Kconfig
@@ -520,8 +520,10 @@ config PCI
here unless you are using a simulator without PCI support.
config PCI_DOMAINS
- bool
- default PCI
+ def_bool PCI
+
+config PCI_SYSCALL
+ def_bool PCI
source "drivers/pci/pcie/Kconfig"
OpenPOWER on IntegriCloud