PageRenderTime 13ms CodeModel.GetById 11ms app.highlight 1ms RepoModel.GetById 0ms app.codeStats 0ms

/include/linux/mmdebug.h

https://bitbucket.org/thekraven/iscream_thunderc-2.6.35
C++ Header | 16 lines | 13 code | 3 blank | 0 comment | 2 complexity | 14156117cc5f697f9a899cde788487ae MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 1#ifndef LINUX_MM_DEBUG_H
 2#define LINUX_MM_DEBUG_H 1
 3
 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
 9
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
15
16#endif