2020-03-06 11:44:27 +00:00
|
|
|
From 20ec86befc19cae2065e4b8e3dcda396081489eb Mon Sep 17 00:00:00 2001
|
2018-08-27 14:32:32 +00:00
|
|
|
From: Thomas Gleixner <tglx@linutronix.de>
|
|
|
|
Date: Wed, 29 Jun 2011 20:06:39 +0200
|
2020-03-28 12:59:50 +00:00
|
|
|
Subject: [PATCH 139/326] rtmutex: Avoid include hell
|
|
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.106-rt45.tar.xz
|
2018-08-27 14:32:32 +00:00
|
|
|
|
|
|
|
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>
|
|
|
|
---
|
2019-04-08 23:49:20 +00:00
|
|
|
include/linux/rtmutex.h | 2 +-
|
2018-08-27 14:32:32 +00:00
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
2019-04-08 23:49:20 +00:00
|
|
|
diff --git a/include/linux/rtmutex.h b/include/linux/rtmutex.h
|
|
|
|
index 81ece6a8291a..a355289b1fa1 100644
|
2018-08-27 14:32:32 +00:00
|
|
|
--- a/include/linux/rtmutex.h
|
|
|
|
+++ b/include/linux/rtmutex.h
|
|
|
|
@@ -15,7 +15,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 */
|
|
|
|
|
2020-01-03 23:36:11 +00:00
|
|
|
--
|
2020-02-21 18:07:43 +00:00
|
|
|
2.25.0
|
2020-01-03 23:36:11 +00:00
|
|
|
|