Re: [PATCH 3/3] lockdep: new annotation lock_downgrade()

From: Peter Zijlstra
Date: Tue Feb 14 2017 - 07:12:06 EST


On Fri, Feb 03, 2017 at 06:05:31AM +0900, J. R. Okajima wrote:
> Peter Zijlstra:
> > > >> kernel/locking/rwsem.c:126:2: error: implicit declaration of functi=
> on 'lock_downgrade' [-Werror=3Dimplicit-function-declaration]
> > > lock_downgrade(&sem->dep_map, _RET_IP_);
> > > ^~~~~~~~~~~~~~
> :::
> > This is what you need !LOCKDEP stubs for ;-)
>
> Ok, here is the update.
> Just one line added.

Thanks!

(this version was white-space mangled but I took the old one and added
the one line).