home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / src / linux-headers-2.6.28-15 / include / linux / mmdebug.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-12-24  |  334 b   |  19 lines

  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
  9. #define VM_BUG_ON(cond) do { } while (0)
  10. #endif
  11.  
  12. #ifdef CONFIG_DEBUG_VIRTUAL
  13. #define VIRTUAL_BUG_ON(cond) BUG_ON(cond)
  14. #else
  15. #define VIRTUAL_BUG_ON(cond) do { } while (0)
  16. #endif
  17.  
  18. #endif
  19.