]> git.karo-electronics.de Git - karo-tx-linux.git/commit
futex: use lockdep_assert_held() for lock checking
authorAndi Kleen <ak@linux.intel.com>
Wed, 25 Apr 2012 01:03:51 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:28 +0000 (15:17 +1000)
commit3d62d5bfc2f659063f1d6920bb62fd3a521b1554
tree209bbed8bdad7a1aef1981ba3652b1e34e759a54
parentb9636d608b6e79cce4629dfd46f9b6857591fa03
futex: use lockdep_assert_held() for lock checking

Use lockdep_assert_held() for lock checking instead of a strange homegrown
variant.  This removes the return for this case, but that is unlikely to
be useful anyway.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Darren Hart <dvhart@linux.intel.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/futex.c