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

  1. #ifndef __ASM_BUG_H
  2. #define __ASM_BUG_H
  3.  
  4.  
  5. #ifdef CONFIG_BUG
  6.  
  7. #include <asm/break.h>
  8.  
  9. #define BUG()                                \
  10. do {                                    \
  11.     __asm__ __volatile__("break %0" : : "i" (BRK_BUG));        \
  12. } while (0)
  13.  
  14. #define HAVE_ARCH_BUG
  15.  
  16. #endif
  17.  
  18. #include <asm-generic/bug.h>
  19.  
  20. #endif /* __ASM_BUG_H */
  21.