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-parisc / bug.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-08-11  |  254 b   |  15 lines

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