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 bc083a64b6 ("init/Kconfig: make COMPILE_TEST depend on !UML").

Reported-by: kernel test robot <[email protected]>
Suggested-by: Arnd Bergmann <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
This commit is contained in:
Heiko Carstens committed 2020-11-20 19:19:12 +01:00
1 parent 12bb4c6823
commit 334ef6ed06
1 file changed
+1 -1
+1 -1
View File
@@ -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