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