include/linux/mmdebug.h: add VM_WARN_ON() and VM_WARN_ON_ONCE()
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 4 Jun 2014 23:06:59 +0000 (16:06 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:53:58 +0000 (16:53 -0700)
commit02a8efeda894d3541c7143ed818b25b299504190
treeb1ce60f0c8cae5cadcfd84c84e6e684af0af8ca9
parentae3a8c1c235345dfeb9b4b8c9e118802e3e84533
include/linux/mmdebug.h: add VM_WARN_ON() and VM_WARN_ON_ONCE()

WARN_ON() and WARN_ON_ONCE(), dependent on CONFIG_DEBUG_VM

Cc: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/mmdebug.h