]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm/huge_memory.c: use lockdep_assert_held()
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)
commit1c6f34ab2ff5967ff73258541272b642b2d175c1
tree26336d6e405ca781bfd248a877c04c0d64e703b7
parentaad8c7ac3911d210eb857645f7aa2ad132cf4ecc
mm/huge_memory.c: use lockdep_assert_held()

Use lockdep_assert_held() to check for locks instead of an opencoded
variant.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Hugh Dickins <hughd@google.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/huge_memory.c
mm/swap.c