Blame view

include/asm-parisc/bug.h 254 Bytes
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
  #ifndef _PARISC_BUG_H
  #define _PARISC_BUG_H
c8538a7aa   Matt Mackall   [PATCH] remove al...
3
  #ifdef CONFIG_BUG
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
4
5
6
7
8
9
10
  #define HAVE_ARCH_BUG
  #define BUG() do { \
  	printk("kernel BUG at %s:%d!
  ", __FILE__, __LINE__); \
  	dump_stack(); \
  	panic("BUG!"); \
  } while (0)
c8538a7aa   Matt Mackall   [PATCH] remove al...
11
  #endif
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
12
13
14
  
  #include <asm-generic/bug.h>
  #endif