]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/blob - rt-patches/0003-sparc64-use-generic-rwsem-spinlocks-rt.patch
WAR:media:i2c:ov5693: add flip and mirror setting
[hercules2020/nv-tegra/linux-4.4.git] / rt-patches / 0003-sparc64-use-generic-rwsem-spinlocks-rt.patch
1 From b65518b4051a71b4e76d45453331d55a5b785498 Mon Sep 17 00:00:00 2001
2 From: Allen Pais <allen.pais@oracle.com>
3 Date: Fri, 13 Dec 2013 09:44:41 +0530
4 Subject: [PATCH 003/365] sparc64: use generic rwsem spinlocks rt
5
6 Signed-off-by: Allen Pais <allen.pais@oracle.com>
7 Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
8 ---
9  arch/sparc/Kconfig | 6 ++----
10  1 file changed, 2 insertions(+), 4 deletions(-)
11
12 diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
13 index 56442d2..8c9598f 100644
14 --- a/arch/sparc/Kconfig
15 +++ b/arch/sparc/Kconfig
16 @@ -189,12 +189,10 @@ config NR_CPUS
17  source kernel/Kconfig.hz
18  
19  config RWSEM_GENERIC_SPINLOCK
20 -       bool
21 -       default y if SPARC32
22 +       def_bool PREEMPT_RT_FULL
23  
24  config RWSEM_XCHGADD_ALGORITHM
25 -       bool
26 -       default y if SPARC64
27 +       def_bool !RWSEM_GENERIC_SPINLOCK && !PREEMPT_RT_FULL
28  
29  config GENERIC_HWEIGHT
30         bool
31 -- 
32 2.7.4
33