reservation.h: build error with lockdep disabled

2015-11-26 Thread Russell King - ARM Linux
As of 3c3b177a9369 ("reservation: add suppport for read-only access using rcu") linux/reservation.h uses lockdep macros: +#define reservation_object_held(obj) lockdep_is_held(&(obj)->lock.base) This results in build errors when lockdep is disabled as lockdep_is_held() is only available when lockd

reservation.h: build error with lockdep disabled

2015-11-26 Thread Paul E. McKenney
On Thu, Nov 26, 2015 at 01:43:40PM +, Russell King - ARM Linux wrote: > As of 3c3b177a9369 ("reservation: add suppport for read-only access > using rcu") linux/reservation.h uses lockdep macros: > > +#define reservation_object_held(obj) lockdep_is_held(&(obj)->lock.base) > > This results in b