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/ia64 | |
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/ia64')
-rw-r--r-- | arch/ia64/Kconfig | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig index de1bff659969..db9ddff95841 100644 --- a/arch/ia64/Kconfig +++ b/arch/ia64/Kconfig | |||
@@ -520,8 +520,10 @@ config PCI | |||
520 | here unless you are using a simulator without PCI support. | 520 | here unless you are using a simulator without PCI support. |
521 | 521 | ||
522 | config PCI_DOMAINS | 522 | config PCI_DOMAINS |
523 | bool | 523 | def_bool PCI |
524 | default PCI | 524 | |
525 | config PCI_SYSCALL | ||
526 | def_bool PCI | ||
525 | 527 | ||
526 | source "drivers/pci/pcie/Kconfig" | 528 | source "drivers/pci/pcie/Kconfig" |
527 | 529 | ||