"[PATCH] Fix leaks on /proc/{*/sched,sched_debug,timer_list,timer_stats}" and
[mmotm.git] / include / linux / mmdebug.h
blobee24ef8ab616e6b48f6ac6cd0d9ff0c038c19bc1
1 #ifndef LINUX_MM_DEBUG_H
2 #define LINUX_MM_DEBUG_H 1
4 #ifdef CONFIG_DEBUG_VM
5 #define VM_BUG_ON(cond) BUG_ON(cond)
6 #else
7 #define VM_BUG_ON(cond) do { } while (0)
8 #endif
10 #ifdef CONFIG_DEBUG_VIRTUAL
11 #define VIRTUAL_BUG_ON(cond) BUG_ON(cond)
12 #else
13 #define VIRTUAL_BUG_ON(cond) do { } while (0)
14 #endif
16 #endif