include/linux/mmdebug.h: add VM_WARN which maps to WARN()
authorAneesh Kumar K.V <[email protected]>
Tue, 26 Jul 2016 22:22:36 +0000 (15:22 -0700)
committerLinus Torvalds <[email protected]>
Tue, 26 Jul 2016 23:19:19 +0000 (16:19 -0700)
commita54f9aebaa9f0ea2ce6b01f12b65062fb2e74e6c
tree79c0ccd35727b3e7910f6581b620fc0a0d2fcb1d
parent2a966b77ae3ede207e787e7538b87d1011c4364e
include/linux/mmdebug.h: add VM_WARN which maps to WARN()

This enables us to do VM_WARN(condition, "warn message");

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Aneesh Kumar K.V <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Reviewed-by: Anshuman Khandual <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
include/linux/mmdebug.h