home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2006 November (DVD) / PCWELT_11_2006.ISO / casper / filesystem.squashfs / usr / src / linux-headers-2.6.17-6 / include / asm-s390 / bug.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  266 b   |  19 lines

  1. #ifndef _S390_BUG_H
  2. #define _S390_BUG_H
  3.  
  4. #include <linux/kernel.h>
  5.  
  6. #ifdef CONFIG_BUG
  7.  
  8. #define BUG() do { \
  9.     printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
  10.     __builtin_trap(); \
  11. } while (0)
  12.  
  13. #define HAVE_ARCH_BUG
  14. #endif
  15.  
  16. #include <asm-generic/bug.h>
  17.  
  18. #endif
  19.