38 lines
1.4 KiB
Diff
38 lines
1.4 KiB
Diff
From abbf607d629b2a88c82356f6426e4589f261c906 Mon Sep 17 00:00:00 2001
|
|
Message-Id: <abbf607d629b2a88c82356f6426e4589f261c906.1594742966.git.zanussi@kernel.org>
|
|
In-Reply-To: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org>
|
|
References: <832f7d97d6b989a5b4860dd2dbec58ad6ad5ab81.1594742966.git.zanussi@kernel.org>
|
|
From: "Wolfgang M. Reimer" <linuxball@gmail.com>
|
|
Date: Tue, 21 Jul 2015 16:20:07 +0200
|
|
Subject: [PATCH 134/329] locking: locktorture: Do NOT include rwlock.h
|
|
directly
|
|
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/4.19/older/patches-4.19.132-rt59.tar.xz
|
|
|
|
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>
|
|
---
|
|
kernel/locking/locktorture.c | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c
|
|
index 95395ef5922a..5748c1936edb 100644
|
|
--- a/kernel/locking/locktorture.c
|
|
+++ b/kernel/locking/locktorture.c
|
|
@@ -29,7 +29,6 @@
|
|
#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>
|
|
--
|
|
2.17.1
|
|
|