]> 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, 25 Apr 2012 01:03:50 +0000 (11:03 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:28 +0000 (15:17 +1000)
commitb9636d608b6e79cce4629dfd46f9b6857591fa03
tree31869db79581888ba2a87e948a84824f30977d06
parentf4fc1c3bbd3beb20bb19ed1389b46574aa79279d
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