Re: [tip: locking/urgent] locking/rwsem: Add missing __init_rwsem() for PREEMPT_RT

From: Mike Galbraith
Date: Tue Aug 31 2021 - 19:03:08 EST


On Tue, 2021-08-31 at 09:54 +0000, tip-bot2 for Mike Galbraith wrote:
> --- a/kernel/locking/rwsem.c
> +++ b/kernel/locking/rwsem.c
> @@ -1376,15 +1376,17 @@ static inline void __downgrade_write(struct rw_semaphore *sem)
>  
>  #include "rwbase_rt.c"
>  
> -#ifdef CONFIG_DEBUG_LOCK_ALLOC
>  void __rwsem_init(struct rw_semaphore *sem, const char *name,
^^^^^^^^^^^^ this line dodged your key tapping.

-Mike