| From 53cd6fa3812a9e218ba1042e91d2fd17b1f19a6c Mon Sep 17 00:00:00 2001 |
| From: Thomas Gleixner <tglx@linutronix.de> |
| Date: Sun, 24 Jul 2011 12:11:43 +0200 |
| Subject: [PATCH] kconfig: Disable config options which are not RT compatible |
| |
| Disable stuff which is known to have issues on RT |
| |
| Signed-off-by: Thomas Gleixner <tglx@linutronix.de> |
| |
| diff --git a/arch/Kconfig b/arch/Kconfig |
| index 4f3a778ce824..cd99e72eaf27 100644 |
| --- a/arch/Kconfig |
| +++ b/arch/Kconfig |
| @@ -9,6 +9,7 @@ config OPROFILE |
| tristate "OProfile system profiling" |
| depends on PROFILING |
| depends on HAVE_OPROFILE |
| + depends on !PREEMPT_RT_FULL |
| select RING_BUFFER |
| select RING_BUFFER_ALLOW_SWAP |
| help |
| diff --git a/mm/Kconfig b/mm/Kconfig |
| index 2664c118b5d2..262c487ebc93 100644 |
| --- a/mm/Kconfig |
| +++ b/mm/Kconfig |
| @@ -402,7 +402,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_FULL |
| select COMPACTION |
| select RADIX_TREE_MULTIORDER |
| help |
| -- |
| 2.5.0 |
| |