]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/blob - rt-patches/0032-kconfig-Disable-config-options-which-are-not-RT-comp.patch
Fix memguard and related syscalls
[hercules2020/nv-tegra/linux-4.4.git] / rt-patches / 0032-kconfig-Disable-config-options-which-are-not-RT-comp.patch
1 From 2d2ba86cd9d8bbcc50aee099bf50c407abbe8c0a Mon Sep 17 00:00:00 2001
2 From: Thomas Gleixner <tglx@linutronix.de>
3 Date: Sun, 24 Jul 2011 12:11:43 +0200
4 Subject: [PATCH 032/366] kconfig: Disable config options which are not RT
5  compatible
6
7 Disable stuff which is known to have issues on RT
8
9 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
10 ---
11  arch/Kconfig | 1 +
12  mm/Kconfig   | 2 +-
13  2 files changed, 2 insertions(+), 1 deletion(-)
14
15 diff --git a/arch/Kconfig b/arch/Kconfig
16 index 0f34639..dc129ab 100644
17 --- a/arch/Kconfig
18 +++ b/arch/Kconfig
19 @@ -9,6 +9,7 @@ config OPROFILE
20         tristate "OProfile system profiling"
21         depends on PROFILING
22         depends on HAVE_OPROFILE
23 +       depends on !PREEMPT_RT_FULL
24         select RING_BUFFER
25         select RING_BUFFER_ALLOW_SWAP
26         help
27 diff --git a/mm/Kconfig b/mm/Kconfig
28 index be355e2..d42d6ed 100644
29 --- a/mm/Kconfig
30 +++ b/mm/Kconfig
31 @@ -393,7 +393,7 @@ config NOMMU_INITIAL_TRIM_EXCESS
32  
33  config TRANSPARENT_HUGEPAGE
34         bool "Transparent Hugepage Support"
35 -       depends on HAVE_ARCH_TRANSPARENT_HUGEPAGE
36 +       depends on HAVE_ARCH_TRANSPARENT_HUGEPAGE && !PREEMPT_RT_FULL
37         select COMPACTION
38         help
39           Transparent Hugepages allows the kernel to use huge pages and
40 -- 
41 1.9.1
42