]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/mmdebug.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi...
[mirror_ubuntu-bionic-kernel.git] / include / linux / mmdebug.h
CommitLineData
59ea7463
JS
1#ifndef LINUX_MM_DEBUG_H
2#define LINUX_MM_DEBUG_H 1
3
4#include <linux/autoconf.h>
5
6#ifdef CONFIG_DEBUG_VM
7#define VM_BUG_ON(cond) BUG_ON(cond)
8#else
7aa413de 9#define VM_BUG_ON(cond) do { } while (0)
59ea7463
JS
10#endif
11
12#ifdef CONFIG_DEBUG_VIRTUAL
13#define VIRTUAL_BUG_ON(cond) BUG_ON(cond)
14#else
7aa413de 15#define VIRTUAL_BUG_ON(cond) do { } while (0)
59ea7463
JS
16#endif
17
18#endif