PCI: consolidate the PCI_SYSCALL symbol
Let architectures select the syscall support instead of duplicating the kconfig entry. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
parent
2eac9c2dfb
commit
20f1b79d33
@ -8,6 +8,7 @@ config ALPHA
|
|||||||
select ARCH_USE_CMPXCHG_LOCKREF
|
select ARCH_USE_CMPXCHG_LOCKREF
|
||||||
select FORCE_PCI if !ALPHA_JENSEN
|
select FORCE_PCI if !ALPHA_JENSEN
|
||||||
select PCI_DOMAINS if PCI
|
select PCI_DOMAINS if PCI
|
||||||
|
select PCI_SYSCALL if PCI
|
||||||
select HAVE_AOUT
|
select HAVE_AOUT
|
||||||
select HAVE_IDE
|
select HAVE_IDE
|
||||||
select HAVE_OPROFILE
|
select HAVE_OPROFILE
|
||||||
@ -322,9 +323,6 @@ config ISA_DMA_API
|
|||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
config PCI_SYSCALL
|
|
||||||
def_bool PCI
|
|
||||||
|
|
||||||
config ALPHA_NONAME
|
config ALPHA_NONAME
|
||||||
bool
|
bool
|
||||||
depends on ALPHA_BOOK1 || ALPHA_NONAME_CH
|
depends on ALPHA_BOOK1 || ALPHA_NONAME_CH
|
||||||
|
@ -46,6 +46,7 @@ config ARC
|
|||||||
select OF
|
select OF
|
||||||
select OF_EARLY_FLATTREE
|
select OF_EARLY_FLATTREE
|
||||||
select OF_RESERVED_MEM
|
select OF_RESERVED_MEM
|
||||||
|
select PCI_SYSCALL if PCI
|
||||||
select PERF_USE_VMALLOC if ARC_CACHE_VIPT_ALIASING
|
select PERF_USE_VMALLOC if ARC_CACHE_VIPT_ALIASING
|
||||||
|
|
||||||
config ARCH_HAS_CACHE_LINE_SIZE
|
config ARCH_HAS_CACHE_LINE_SIZE
|
||||||
@ -550,7 +551,4 @@ config FORCE_MAX_ZONEORDER
|
|||||||
default "12" if ARC_HUGEPAGE_16M
|
default "12" if ARC_HUGEPAGE_16M
|
||||||
default "11"
|
default "11"
|
||||||
|
|
||||||
config PCI_SYSCALL
|
|
||||||
def_bool PCI
|
|
||||||
|
|
||||||
source "kernel/power/Kconfig"
|
source "kernel/power/Kconfig"
|
||||||
|
@ -103,6 +103,7 @@ config ARM
|
|||||||
select OF_RESERVED_MEM if OF
|
select OF_RESERVED_MEM if OF
|
||||||
select OLD_SIGACTION
|
select OLD_SIGACTION
|
||||||
select OLD_SIGSUSPEND3
|
select OLD_SIGSUSPEND3
|
||||||
|
select PCI_SYSCALL if PCI
|
||||||
select PERF_USE_VMALLOC
|
select PERF_USE_VMALLOC
|
||||||
select REFCOUNT_FULL
|
select REFCOUNT_FULL
|
||||||
select RTC_LIB
|
select RTC_LIB
|
||||||
@ -1233,9 +1234,6 @@ config PCI_NANOENGINE
|
|||||||
help
|
help
|
||||||
Enable PCI on the BSE nanoEngine board.
|
Enable PCI on the BSE nanoEngine board.
|
||||||
|
|
||||||
config PCI_SYSCALL
|
|
||||||
def_bool PCI
|
|
||||||
|
|
||||||
config PCI_HOST_ITE8152
|
config PCI_HOST_ITE8152
|
||||||
bool
|
bool
|
||||||
depends on PCI && MACH_ARMCORE
|
depends on PCI && MACH_ARMCORE
|
||||||
|
@ -166,6 +166,7 @@ config ARM64
|
|||||||
select OF_RESERVED_MEM
|
select OF_RESERVED_MEM
|
||||||
select PCI_DOMAINS_GENERIC if PCI
|
select PCI_DOMAINS_GENERIC if PCI
|
||||||
select PCI_ECAM if ACPI
|
select PCI_ECAM if ACPI
|
||||||
|
select PCI_SYSCALL if PCI
|
||||||
select POWER_RESET
|
select POWER_RESET
|
||||||
select POWER_SUPPLY
|
select POWER_SUPPLY
|
||||||
select REFCOUNT_FULL
|
select REFCOUNT_FULL
|
||||||
@ -289,9 +290,6 @@ config ARCH_PROC_KCORE_TEXT
|
|||||||
|
|
||||||
source "arch/arm64/Kconfig.platforms"
|
source "arch/arm64/Kconfig.platforms"
|
||||||
|
|
||||||
config PCI_SYSCALL
|
|
||||||
def_bool PCI
|
|
||||||
|
|
||||||
menu "Kernel Features"
|
menu "Kernel Features"
|
||||||
|
|
||||||
menu "ARM errata workarounds via the alternatives framework"
|
menu "ARM errata workarounds via the alternatives framework"
|
||||||
|
@ -16,6 +16,7 @@ config IA64
|
|||||||
select ARCH_MIGHT_HAVE_ACPI_PDC if ACPI
|
select ARCH_MIGHT_HAVE_ACPI_PDC if ACPI
|
||||||
select FORCE_PCI if (!IA64_HP_SIM)
|
select FORCE_PCI if (!IA64_HP_SIM)
|
||||||
select PCI_DOMAINS if PCI
|
select PCI_DOMAINS if PCI
|
||||||
|
select PCI_SYSCALL if PCI
|
||||||
select HAVE_UNSTABLE_SCHED_CLOCK
|
select HAVE_UNSTABLE_SCHED_CLOCK
|
||||||
select HAVE_EXIT_THREAD
|
select HAVE_EXIT_THREAD
|
||||||
select HAVE_IDE
|
select HAVE_IDE
|
||||||
@ -545,9 +546,6 @@ if !IA64_HP_SIM
|
|||||||
|
|
||||||
menu "Bus options (PCI, PCMCIA)"
|
menu "Bus options (PCI, PCMCIA)"
|
||||||
|
|
||||||
config PCI_SYSCALL
|
|
||||||
def_bool PCI
|
|
||||||
|
|
||||||
source "drivers/pcmcia/Kconfig"
|
source "drivers/pcmcia/Kconfig"
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
@ -37,6 +37,7 @@ config MICROBLAZE
|
|||||||
select OF
|
select OF
|
||||||
select OF_EARLY_FLATTREE
|
select OF_EARLY_FLATTREE
|
||||||
select PCI_DOMAINS_GENERIC if PCI
|
select PCI_DOMAINS_GENERIC if PCI
|
||||||
|
select PCI_SYSCALL if PCI
|
||||||
select TRACING_SUPPORT
|
select TRACING_SUPPORT
|
||||||
select VIRT_TO_BUS
|
select VIRT_TO_BUS
|
||||||
select CPU_NO_EFFICIENT_FFS
|
select CPU_NO_EFFICIENT_FFS
|
||||||
@ -268,9 +269,6 @@ endmenu
|
|||||||
|
|
||||||
menu "Bus Options"
|
menu "Bus Options"
|
||||||
|
|
||||||
config PCI_SYSCALL
|
|
||||||
def_bool PCI
|
|
||||||
|
|
||||||
config PCI_XILINX
|
config PCI_XILINX
|
||||||
bool "Xilinx PCI host bridge support"
|
bool "Xilinx PCI host bridge support"
|
||||||
depends on PCI
|
depends on PCI
|
||||||
|
@ -237,6 +237,7 @@ config PPC
|
|||||||
select OLD_SIGACTION if PPC32
|
select OLD_SIGACTION if PPC32
|
||||||
select OLD_SIGSUSPEND
|
select OLD_SIGSUSPEND
|
||||||
select PCI_DOMAINS if PCI
|
select PCI_DOMAINS if PCI
|
||||||
|
select PCI_SYSCALL if PCI
|
||||||
select RTC_LIB
|
select RTC_LIB
|
||||||
select SPARSE_IRQ
|
select SPARSE_IRQ
|
||||||
select SYSCTL_EXCEPTION_TRACE
|
select SYSCTL_EXCEPTION_TRACE
|
||||||
@ -932,9 +933,6 @@ config FSL_GTM
|
|||||||
help
|
help
|
||||||
Freescale General-purpose Timers support
|
Freescale General-purpose Timers support
|
||||||
|
|
||||||
config PCI_SYSCALL
|
|
||||||
def_bool PCI
|
|
||||||
|
|
||||||
config PCI_8260
|
config PCI_8260
|
||||||
bool
|
bool
|
||||||
depends on PCI && 8260
|
depends on PCI && 8260
|
||||||
|
@ -39,6 +39,7 @@ config SPARC
|
|||||||
select GENERIC_STRNCPY_FROM_USER
|
select GENERIC_STRNCPY_FROM_USER
|
||||||
select GENERIC_STRNLEN_USER
|
select GENERIC_STRNLEN_USER
|
||||||
select MODULES_USE_ELF_RELA
|
select MODULES_USE_ELF_RELA
|
||||||
|
select PCI_SYSCALL if PCI
|
||||||
select ODD_RT_SIGACTION
|
select ODD_RT_SIGACTION
|
||||||
select OLD_SIGSUSPEND
|
select OLD_SIGSUSPEND
|
||||||
select ARCH_HAS_SG_CHAIN
|
select ARCH_HAS_SG_CHAIN
|
||||||
@ -474,9 +475,6 @@ config SUN_LDOMS
|
|||||||
Say Y here is you want to support virtual devices via
|
Say Y here is you want to support virtual devices via
|
||||||
Logical Domains.
|
Logical Domains.
|
||||||
|
|
||||||
config PCI_SYSCALL
|
|
||||||
def_bool PCI
|
|
||||||
|
|
||||||
config PCIC_PCI
|
config PCIC_PCI
|
||||||
bool
|
bool
|
||||||
depends on PCI && SPARC32 && !SPARC_LEON
|
depends on PCI && SPARC32 && !SPARC_LEON
|
||||||
|
@ -30,6 +30,9 @@ config PCI_DOMAINS_GENERIC
|
|||||||
depends on PCI
|
depends on PCI
|
||||||
select PCI_DOMAINS
|
select PCI_DOMAINS
|
||||||
|
|
||||||
|
config PCI_SYSCALL
|
||||||
|
bool
|
||||||
|
|
||||||
source "drivers/pci/pcie/Kconfig"
|
source "drivers/pci/pcie/Kconfig"
|
||||||
|
|
||||||
config PCI_MSI
|
config PCI_MSI
|
||||||
|
Loading…
Reference in New Issue
Block a user