aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-06-29 20:06:39 +0200
committerSebastian Andrzej Siewior <bigeasy@linutronix.de>2016-02-13 00:35:44 +0100
commitbaa4cf72a3cf938f15f80a21615b46a44514cfdb (patch)
tree805855f1950152990f68c952f5662023fe8f2732
parentb1f0aa044610b63be3ac0a75a8ecec557d77c839 (diff)
downloadrt-linux-baa4cf72a3cf938f15f80a21615b46a44514cfdb.tar.gz
rtmutex: Avoid include hell
Include only the required raw types. This avoids pulling in the complete spinlock header which in turn requires rtmutex.h at some point. Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rw-r--r--include/linux/rtmutex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/rtmutex.h b/include/linux/rtmutex.h
index 51dc12e3860cd3..2ed41c40804335 100644
--- a/include/linux/rtmutex.h
+++ b/include/linux/rtmutex.h
@@ -14,7 +14,7 @@
#include <linux/linkage.h>
#include <linux/rbtree.h>
-#include <linux/spinlock_types.h>
+#include <linux/spinlock_types_raw.h>
extern int max_lock_depth; /* for sysctl */