blob: 5fdea5177745e89c8d6681706805c42b02f0a7bb [file] [log] [blame]
Arvind M8e87d852018-01-29 00:04:29 -08001From 4e6135e436d878f939ace42be08fbebc006a862b Mon Sep 17 00:00:00 2001
Allen Martin685e0f82016-07-26 19:34:29 -07002From: Thomas Gleixner <tglx@linutronix.de>
3Date: Wed, 29 Jun 2011 20:06:39 +0200
Arvind M10268e72017-12-04 22:18:06 -08004Subject: [PATCH 122/366] rtmutex: Avoid include hell
Allen Martin685e0f82016-07-26 19:34:29 -07005
6Include only the required raw types. This avoids pulling in the
7complete spinlock header which in turn requires rtmutex.h at some point.
8
9Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Allen Martin685e0f82016-07-26 19:34:29 -070010---
11 include/linux/rtmutex.h | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/include/linux/rtmutex.h b/include/linux/rtmutex.h
Ishan Mittalb7998262017-01-17 16:11:50 +053015index 51dc12e..2ed41c4 100644
Allen Martin685e0f82016-07-26 19:34:29 -070016--- 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--
Arvind M10268e72017-12-04 22:18:06 -0800281.9.1
Allen Martin685e0f82016-07-26 19:34:29 -070029