]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - include/linux/mmdebug.h
Merge branches 'device-groups', 'logitech' and 'multitouch' into for-linus
[mirror_ubuntu-zesty-kernel.git] / include / linux / mmdebug.h
CommitLineData
59ea7463
JS
1#ifndef LINUX_MM_DEBUG_H
2#define LINUX_MM_DEBUG_H 1
3
59ea7463
JS
4#ifdef CONFIG_DEBUG_VM
5#define VM_BUG_ON(cond) BUG_ON(cond)
6#else
4e60c86b 7#define VM_BUG_ON(cond) do { (void)(cond); } while (0)
59ea7463
JS
8#endif
9
10#ifdef CONFIG_DEBUG_VIRTUAL
11#define VIRTUAL_BUG_ON(cond) BUG_ON(cond)
12#else
7aa413de 13#define VIRTUAL_BUG_ON(cond) do { } while (0)
59ea7463
JS
14#endif
15
16#endif