From 8a6d48c0542876eb3acfc0970c0ab7872db08d5f Mon Sep 17 00:00:00 2001 From: Zheng Da Date: Sun, 6 Dec 2009 05:26:23 +0100 Subject: check in the original version of dde linux26. --- libdde_linux26/contrib/include/linux/mmdebug.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 libdde_linux26/contrib/include/linux/mmdebug.h (limited to 'libdde_linux26/contrib/include/linux/mmdebug.h') diff --git a/libdde_linux26/contrib/include/linux/mmdebug.h b/libdde_linux26/contrib/include/linux/mmdebug.h new file mode 100644 index 00000000..8a550987 --- /dev/null +++ b/libdde_linux26/contrib/include/linux/mmdebug.h @@ -0,0 +1,18 @@ +#ifndef LINUX_MM_DEBUG_H +#define LINUX_MM_DEBUG_H 1 + +#include + +#ifdef CONFIG_DEBUG_VM +#define VM_BUG_ON(cond) BUG_ON(cond) +#else +#define VM_BUG_ON(cond) do { } while (0) +#endif + +#ifdef CONFIG_DEBUG_VIRTUAL +#define VIRTUAL_BUG_ON(cond) BUG_ON(cond) +#else +#define VIRTUAL_BUG_ON(cond) do { } while (0) +#endif + +#endif -- cgit v1.2.3