]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
futex: use lockdep_assert_held() for lock checking
authorAndi Kleen <ak@linux.intel.com>
Wed, 4 Apr 2012 00:08:25 +0000 (10:08 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 11 Apr 2012 04:45:50 +0000 (14:45 +1000)
commit2ce69b73d1b843c93d89d564b0db36c5bf096b70
treecfd6812b03bcc8a5398b6559425855f2ec02ad6e
parent1c6f34ab2ff5967ff73258541272b642b2d175c1
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