From: Wolfgang M. Reimer Date: Mon, 16 Sep 2019 14:54:04 +0000 (+0200) Subject: locking: locktorture: Do not include rwlock.h directly X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=67d64918a163fd62cf3b668d69133b723c48ed96;p=linux.git 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 Signed-off-by: Sebastian Andrzej Siewior Acked-by: Davidlohr Bueso Signed-off-by: Paul E. McKenney --- diff --git a/kernel/locking/locktorture.c b/kernel/locking/locktorture.c index 8dd900247205b..99475a66c94f8 100644 --- a/kernel/locking/locktorture.c +++ b/kernel/locking/locktorture.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include