powerpc/32: Allow __ioremap on RAM addresses for kdump kernel
[linux-2.6/mini2440.git] / include / linux / mmdebug.h
blob8a5509877192b903390b7851ae77df96c9e7fad1
1 #ifndef LINUX_MM_DEBUG_H
2 #define LINUX_MM_DEBUG_H 1
4 #include <linux/autoconf.h>
6 #ifdef CONFIG_DEBUG_VM
7 #define VM_BUG_ON(cond) BUG_ON(cond)
8 #else
9 #define VM_BUG_ON(cond) do { } while (0)
10 #endif
12 #ifdef CONFIG_DEBUG_VIRTUAL
13 #define VIRTUAL_BUG_ON(cond) BUG_ON(cond)
14 #else
15 #define VIRTUAL_BUG_ON(cond) do { } while (0)
16 #endif
18 #endif