tools/lib/lockdep: Fix the build on recent kernels
authorIngo Molnar <mingo@kernel.org>
Mon, 29 Feb 2016 09:25:32 +0000 (10:25 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 29 Feb 2016 09:29:26 +0000 (10:29 +0100)
commitb2ed0998f66c4f68d3cccd2558c627b194e30415
tree0929d4c2014fb57771e5eaafeada336cb9ed882e
parentb82e530290a0437522720becaf4abdf8ca4cb7d2
tools/lib/lockdep: Fix the build on recent kernels

The following upstream commit:

  4a389810bc3c ("kernel/locking/lockdep.c: convert hash tables to hlists")

broke the tools/lib/lockdep build. Add trivial RCU wrappers to fix it.

These wrappers should probably be moved into their own header file.

Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Krinkin <krinkin.m.u@gmail.com>
Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
tools/lib/lockdep/lockdep.c