2020-10-12 12:52:06 +00:00
|
|
|
From 9bfffdb255bc8445c01e10430429afccdfd6907c Mon Sep 17 00:00:00 2001
|
|
|
|
Message-Id: <9bfffdb255bc8445c01e10430429afccdfd6907c.1601675152.git.zanussi@kernel.org>
|
|
|
|
In-Reply-To: <5b5a156f9808b1acf1205606e03da117214549ea.1601675151.git.zanussi@kernel.org>
|
|
|
|
References: <5b5a156f9808b1acf1205606e03da117214549ea.1601675151.git.zanussi@kernel.org>
|
2018-08-27 14:32:32 +00:00
|
|
|
From: "Wolfgang M. Reimer" <linuxball@gmail.com>
|
|
|
|
Date: Tue, 21 Jul 2015 16:20:07 +0200
|
2020-09-04 20:10:21 +00:00
|
|
|
Subject: [PATCH 134/333] locking: locktorture: Do NOT include rwlock.h
|
2019-04-08 23:49:20 +00:00
|
|
|
directly
|
2020-10-12 12:52:06 +00:00
|
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.148-rt64.tar.xz
|
2018-08-27 14:32:32 +00:00
|
|
|
|
|
|
|
Including rwlock.h directly will cause kernel builds to fail
|
|
|
|
if CONFIG_PREEMPT_RT_FULL is defined. The correct header file
|
|
|
|
(rwlock_rt.h OR rwlock.h) will be included by spinlock.h which
|
|
|
|
is included by locktorture.c anyway.
|
|
|
|
|
|
|
|
Cc: stable-rt@vger.kernel.org
|
|
|
|
Signed-off-by: Wolfgang M. Reimer <linuxball@gmail.com>
|
|
|
|
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
|
|
|
|
---
|
2019-04-08 23:49:20 +00:00
|
|
|
kernel/locking/locktorture.c | 1 -
|
2018-08-27 14:32:32 +00:00
|
|
|
1 file changed, 1 deletion(-)
|
|
|
|
|
2019-04-08 23:49:20 +00:00
|
|
|
diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c
|
2020-06-22 13:14:16 +00:00
|
|
|
index 95395ef5922a..5748c1936edb 100644
|
2018-08-27 14:32:32 +00:00
|
|
|
--- a/kernel/locking/locktorture.c
|
|
|
|
+++ b/kernel/locking/locktorture.c
|
2018-10-30 12:40:05 +00:00
|
|
|
@@ -29,7 +29,6 @@
|
2018-08-27 14:32:32 +00:00
|
|
|
#include <linux/kthread.h>
|
|
|
|
#include <linux/sched/rt.h>
|
|
|
|
#include <linux/spinlock.h>
|
|
|
|
-#include <linux/rwlock.h>
|
|
|
|
#include <linux/mutex.h>
|
|
|
|
#include <linux/rwsem.h>
|
|
|
|
#include <linux/smp.h>
|
2020-01-03 23:36:11 +00:00
|
|
|
--
|
2020-06-22 13:14:16 +00:00
|
|
|
2.17.1
|
2020-01-03 23:36:11 +00:00
|
|
|
|