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

  1. #ifndef __ASM_SH_BUG_H
  2. #define __ASM_SH_BUG_H
  3.  
  4.  
  5. #ifdef CONFIG_BUG
  6. /*
  7.  * Tell the user there is some problem.
  8.  */
  9. #define BUG() do { \
  10.     printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
  11.     *(volatile int *)0 = 0; \
  12. } while (0)
  13.  
  14. #define HAVE_ARCH_BUG
  15. #endif
  16.  
  17. #include <asm-generic/bug.h>
  18.  
  19. #endif
  20.