summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2020-11-18 23:32:33 +0300
committerHeiko Carstens <hca@linux.ibm.com>2020-11-20 21:19:12 +0300
commit334ef6ed06fa1a54e35296b77b693bcf6d63ee9e (patch)
treef6c06b9168650a6ce62dc0eb700e31d8e1dc2fe4 /init
parent12bb4c682354740e4aaf0103a9bf283df42adaa9 (diff)
downloadlinux-334ef6ed06fa1a54e35296b77b693bcf6d63ee9e.tar.xz
init/Kconfig: make COMPILE_TEST depend on !S390
While allmodconfig and allyesconfig build for s390 there are also various bots running compile tests with randconfig, where PCI is disabled. This reveals that a lot of drivers should actually depend on HAS_IOMEM. Adding this to each device driver would be a never ending story, therefore just disable COMPILE_TEST for s390. The reasoning is more or less the same as described in commit bc083a64b6c0 ("init/Kconfig: make COMPILE_TEST depend on !UML"). Reported-by: kernel test robot <lkp@intel.com> Suggested-by: Arnd Bergmann <arnd@kernel.org> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig
index c9446911cf41..36e280846c5f 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -110,7 +110,7 @@ config INIT_ENV_ARG_LIMIT
config COMPILE_TEST
bool "Compile also drivers which will not load"
- depends on !UML
+ depends on !UML && !S390
default n
help
Some drivers can be compiled on a different platform than they are