blob: 9e4e6eb9d4c0c0a46da2c91da0d07e84bd15a776 [file] [log] [blame]
Allen Martin685e0f82016-07-26 19:34:29 -07001From 2f30d7fb5ccd9a4e3451744e76c9fba180073864 Mon Sep 17 00:00:00 2001
2From: Thomas Gleixner <tglx@linutronix.de>
3Date: Wed, 29 Jun 2011 20:06:39 +0200
4Subject: [PATCH 168/317] rtmutex: Avoid include hell
5X-NVConfidentiality: public
6
7Include only the required raw types. This avoids pulling in the
8complete spinlock header which in turn requires rtmutex.h at some point.
9
10Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
11Signed-off-by: Allen Martin <amartin@nvidia.com>
12---
13 include/linux/rtmutex.h | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/include/linux/rtmutex.h b/include/linux/rtmutex.h
17index 51dc12e3860c..2ed41c408043 100644
18--- a/include/linux/rtmutex.h
19+++ b/include/linux/rtmutex.h
20@@ -14,7 +14,7 @@
21
22 #include <linux/linkage.h>
23 #include <linux/rbtree.h>
24-#include <linux/spinlock_types.h>
25+#include <linux/spinlock_types_raw.h>
26
27 extern int max_lock_depth; /* for sysctl */
28
29--
302.9.3
31