diff --git a/init/Kconfig b/init/Kconfig
index 22946fe5ded982b37a9cd49c9b9b24a2f3667891..8f8a497aafe05c519803ea157492a77f6eb54c45 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -119,8 +119,7 @@ config INIT_ENV_ARG_LIMIT
 
 config COMPILE_TEST
 	bool "Compile also drivers which will not load"
-	depends on !UML && !S390
-	default n
+	depends on HAS_IOMEM
 	help
 	  Some drivers can be compiled on a different platform than they are
 	  intended to be run on. Despite they cannot be loaded there (or even