locking: locktorture: Do not include rwlock.h directly
authorWolfgang M. Reimer <linuxball@gmail.com>
Mon, 16 Sep 2019 14:54:04 +0000 (16:54 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Sat, 5 Oct 2019 18:50:24 +0000 (11:50 -0700)
commit67d64918a163fd62cf3b668d69133b723c48ed96
treec7958798f2af07cb1b7a305fa1da133f5c6e1225
parentfbbd5e358cecb5fa490550ace66463517a7577e8
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