summaryrefslogtreecommitdiff
path: root/patches/kconfig__Disable_config_options_which_are_not_RT_compatible.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/kconfig__Disable_config_options_which_are_not_RT_compatible.patch')
-rw-r--r--patches/kconfig__Disable_config_options_which_are_not_RT_compatible.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/patches/kconfig__Disable_config_options_which_are_not_RT_compatible.patch b/patches/kconfig__Disable_config_options_which_are_not_RT_compatible.patch
new file mode 100644
index 000000000000..1ecfea9c68a8
--- /dev/null
+++ b/patches/kconfig__Disable_config_options_which_are_not_RT_compatible.patch
@@ -0,0 +1,28 @@
+Subject: kconfig: Disable config options which are not RT compatible
+From: Thomas Gleixner <tglx@linutronix.de>
+Date: Sun Jul 24 12:11:43 2011 +0200
+
+From: Thomas Gleixner <tglx@linutronix.de>
+
+Disable stuff which is known to have issues on RT
+
+Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
+
+
+---
+ mm/Kconfig | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+---
+diff --git a/mm/Kconfig b/mm/Kconfig
+index 02d44e3420f5..453ce5f4811f 100644
+--- a/mm/Kconfig
++++ b/mm/Kconfig
+@@ -403,7 +403,7 @@ config NOMMU_INITIAL_TRIM_EXCESS
+
+ config TRANSPARENT_HUGEPAGE
+ bool "Transparent Hugepage Support"
+- depends on HAVE_ARCH_TRANSPARENT_HUGEPAGE
++ depends on HAVE_ARCH_TRANSPARENT_HUGEPAGE && !PREEMPT_RT
+ select COMPACTION
+ select XARRAY_MULTI
+ help