Skip to content
Commit 67d64918 authored by Wolfgang M. Reimer's avatar Wolfgang M. Reimer Committed by Paul E. McKenney
Browse files

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: default avatarWolfgang M. Reimer <linuxball@gmail.com>
Signed-off-by: default avatarSebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: default avatarDavidlohr Bueso <dbueso@suse.de>
Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
parent fbbd5e35
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment