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/sparc | |
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/sparc')
-rw-r--r-- | arch/sparc/Kconfig | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index fbcc00c6c06e..8567cc901942 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig | |||
@@ -210,6 +210,9 @@ config PCI | |||
210 | CP-1200, JavaEngine-1, Corona, Red October, and Serengeti SGSC. | 210 | CP-1200, JavaEngine-1, Corona, Red October, and Serengeti SGSC. |
211 | All of these platforms are extremely obscure, so say N if unsure. | 211 | All of these platforms are extremely obscure, so say N if unsure. |
212 | 212 | ||
213 | config PCI_SYSCALL | ||
214 | def_bool PCI | ||
215 | |||
213 | source "drivers/pci/Kconfig" | 216 | source "drivers/pci/Kconfig" |
214 | 217 | ||
215 | endif | 218 | endif |