diff options
author | Matthew Wilcox | 2007-07-10 18:54:40 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2007-07-12 01:02:13 +0200 |
commit | 36e235901f90fb83215be43cbd8f1ca14661ea40 (patch) | |
tree | 6a991716468ccf99b83934bfd91e7f4dcdd6c1ec /arch/sparc64/Kconfig | |
parent | PCI: limit pci_get_bus_and_slot to domain 0 (diff) | |
download | kernel-qcow2-linux-36e235901f90fb83215be43cbd8f1ca14661ea40.tar.gz kernel-qcow2-linux-36e235901f90fb83215be43cbd8f1ca14661ea40.tar.xz kernel-qcow2-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/sparc64/Kconfig')
-rw-r--r-- | arch/sparc64/Kconfig | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/sparc64/Kconfig b/arch/sparc64/Kconfig index 89a1b469b93d..6566d13db04f 100644 --- a/arch/sparc64/Kconfig +++ b/arch/sparc64/Kconfig @@ -320,8 +320,10 @@ config PCI doesn't. config PCI_DOMAINS - bool - default PCI + def_bool PCI + +config PCI_SYSCALL + def_bool PCI source "drivers/pci/Kconfig" |