]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/blob - rt-patches/0122-rtmutex-Avoid-include-hell.patch
Fix memguard and related syscalls
[hercules2020/nv-tegra/linux-4.4.git] / rt-patches / 0122-rtmutex-Avoid-include-hell.patch
1 From e8133a88fc70ae6ba6dd64861665fbfcecf3e671 Mon Sep 17 00:00:00 2001
2 From: Thomas Gleixner <tglx@linutronix.de>
3 Date: Wed, 29 Jun 2011 20:06:39 +0200
4 Subject: [PATCH 122/366] rtmutex: Avoid include hell
5
6 Include only the required raw types. This avoids pulling in the
7 complete spinlock header which in turn requires rtmutex.h at some point.
8
9 Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
10 ---
11  include/linux/rtmutex.h | 2 +-
12  1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/include/linux/rtmutex.h b/include/linux/rtmutex.h
15 index 51dc12e..2ed41c4 100644
16 --- a/include/linux/rtmutex.h
17 +++ b/include/linux/rtmutex.h
18 @@ -14,7 +14,7 @@
19  
20  #include <linux/linkage.h>
21  #include <linux/rbtree.h>
22 -#include <linux/spinlock_types.h>
23 +#include <linux/spinlock_types_raw.h>
24  
25  extern int max_lock_depth; /* for sysctl */
26  
27 -- 
28 1.9.1
29