[PATCH 4/4] FOR-CI: Enable PREEMPT_RT

Maarten Lankhorst dev at lankhorst.se
Tue Jul 15 10:16:41 UTC 2025


Signed-off-by: Maarten Lankhorst <dev at lankhorst.se>
---
 init/Kconfig           | 2 +-
 kernel/Kconfig.preempt | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/init/Kconfig b/init/Kconfig
index af4c2f0854554..488dbad04b732 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -185,7 +185,7 @@ config INIT_ENV_ARG_LIMIT
 
 config COMPILE_TEST
 	bool "Compile also drivers which will not load"
-	depends on HAS_IOMEM
+	depends on BROKEN && 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
diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt
index 54ea59ff8fbeb..eb0aad1aeaf74 100644
--- a/kernel/Kconfig.preempt
+++ b/kernel/Kconfig.preempt
@@ -87,8 +87,8 @@ config PREEMPT_LAZY
 endchoice
 
 config PREEMPT_RT
-	bool "Fully Preemptible Kernel (Real-Time)"
-	depends on EXPERT && ARCH_SUPPORTS_RT && !COMPILE_TEST
+	def_bool y
+	depends on ARCH_SUPPORTS_RT
 	select PREEMPTION
 	help
 	  This option turns the kernel into a real-time kernel by replacing
-- 
2.45.2



More information about the Intel-xe mailing list