include/linux/gfp.h: convert BUG_ON() into VM_BUG_ON()
authorDave Hansen <dave@linux.vnet.ibm.com>
Wed, 25 May 2011 00:11:42 +0000 (17:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 May 2011 15:39:11 +0000 (08:39 -0700)
commit82d4b5779a75887750748609f3415f01c1bb9f81
tree44e467cea2a2fbf88325b6a562c2efa39f53b9d2
parent15fa8f425557a0d698f933627771f520ef4ae34b
include/linux/gfp.h: convert BUG_ON() into VM_BUG_ON()

VM_BUG_ON() if effectively a BUG_ON() undef #ifdef CONFIG_DEBUG_VM.  That
is exactly what we have here now, and two different folks have suggested
doing it this way.

Signed-off-by: Dave Hansen <dave@linux.vnet.ibm.com>
Cc: Christoph Lameter <cl@linux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/gfp.h