linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [tip: core/rcu] locking: locktorture: Do not include rwlock.h directly
@ 2019-10-31 11:55 tip-bot2 for Wolfgang M. Reimer
  0 siblings, 0 replies; only message in thread
From: tip-bot2 for Wolfgang M. Reimer @ 2019-10-31 11:55 UTC (permalink / raw)
  To: linux-tip-commits
  Cc: Wolfgang M. Reimer, Sebastian Andrzej Siewior, Davidlohr Bueso,
	Paul E. McKenney, Ingo Molnar, Borislav Petkov, linux-kernel

The following commit has been merged into the core/rcu branch of tip:

Commit-ID:     67d64918a163fd62cf3b668d69133b723c48ed96
Gitweb:        https://git.kernel.org/tip/67d64918a163fd62cf3b668d69133b723c48ed96
Author:        Wolfgang M. Reimer <linuxball@gmail.com>
AuthorDate:    Mon, 16 Sep 2019 16:54:04 +02:00
Committer:     Paul E. McKenney <paulmck@kernel.org>
CommitterDate: Sat, 05 Oct 2019 11:50:24 -07:00

locking: locktorture: Do not include rwlock.h directly

Including rwlock.h directly will cause kernel builds to fail
if CONFIG_PREEMPT_RT 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.

Remove the include of linux/rwlock.h.

Signed-off-by: Wolfgang M. Reimer <linuxball@gmail.com>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Davidlohr Bueso <dbueso@suse.de>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
---
 kernel/locking/locktorture.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c
index 8dd9002..99475a6 100644
--- a/kernel/locking/locktorture.c
+++ b/kernel/locking/locktorture.c
@@ -16,7 +16,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>

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-31 11:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-31 11:55 [tip: core/rcu] locking: locktorture: Do not include rwlock.h directly tip-bot2 for Wolfgang M. Reimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).