aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2007-07-10 12:54:40 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-11 19:02:13 -0400
commit36e235901f90fb83215be43cbd8f1ca14661ea40 (patch)
tree6a991716468ccf99b83934bfd91e7f4dcdd6c1ec /arch/alpha
parent5463d9f0f323123d96989d318ac9c537158ad0a5 (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/alpha')
-rw-r--r--arch/alpha/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig
index 79c6e5a24456..2a85dc33907c 100644
--- a/arch/alpha/Kconfig
+++ b/arch/alpha/Kconfig
@@ -327,6 +327,9 @@ config PCI_DOMAINS
327 bool 327 bool
328 default y 328 default y
329 329
330config PCI_SYSCALL
331 def_bool PCI
332
330config ALPHA_CORE_AGP 333config ALPHA_CORE_AGP
331 bool 334 bool
332 depends on ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL 335 depends on ALPHA_GENERIC || ALPHA_TITAN || ALPHA_MARVEL