]> git.karo-electronics.de Git - karo-tx-linux.git/commit
futex: use lockdep_assert_held() for lock checking
authorAndi Kleen <ak@linux.intel.com>
Thu, 3 May 2012 05:44:09 +0000 (15:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:40 +0000 (15:46 +1000)
commite4f29a3a23f4769dd15276af4dec210a2c3f2d78
tree7c3ef58d512e31df57d0b178accf7dbe5c7c91ec
parent26bfa4324560693ce890aaae6859b947b9c74a75
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