diff options
author | Matthew Wilcox <matthew@wil.cx> | 2007-07-10 12:54:40 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-07-11 19:02:13 -0400 |
commit | 36e235901f90fb83215be43cbd8f1ca14661ea40 (patch) | |
tree | 6a991716468ccf99b83934bfd91e7f4dcdd6c1ec /arch/powerpc | |
parent | 5463d9f0f323123d96989d318ac9c537158ad0a5 (diff) |
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/powerpc')
-rw-r--r-- | arch/powerpc/Kconfig | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 5eaeafd30bdf..6beee32144c0 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -698,8 +698,10 @@ config PCI | |||
698 | infrastructure code to support PCI bus devices. | 698 | infrastructure code to support PCI bus devices. |
699 | 699 | ||
700 | config PCI_DOMAINS | 700 | config PCI_DOMAINS |
701 | bool | 701 | def_bool PCI |
702 | default PCI | 702 | |
703 | config PCI_SYSCALL | ||
704 | def_bool PCI | ||
703 | 705 | ||
704 | config PCI_QSPAN | 706 | config PCI_QSPAN |
705 | bool "QSpan PCI" | 707 | bool "QSpan PCI" |