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

  1. #ifndef _ASMARM_BUG_H
  2. #define _ASMARM_BUG_H
  3.  
  4.  
  5. #ifdef CONFIG_BUG
  6. #ifdef CONFIG_DEBUG_BUGVERBOSE
  7. extern volatile void __bug(const char *file, int line, void *data);
  8. /* give file/line information */
  9. #define BUG()        __bug(__FILE__, __LINE__, NULL)
  10. #else
  11. #define BUG()        (*(int *)0 = 0)
  12. #endif
  13.  
  14. #define HAVE_ARCH_BUG
  15. #endif
  16.  
  17. #include <asm-generic/bug.h>
  18.  
  19. #endif
  20.