summaryrefslogblamecommitdiffstats
path: root/include/asm-parisc/bug.h
blob: 695588da41f8a73bb31d3fbeb7c686bf0fdfa751 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                     
                 





                                                               
      


                            
#ifndef _PARISC_BUG_H
#define _PARISC_BUG_H

#ifdef CONFIG_BUG
#define HAVE_ARCH_BUG
#define BUG() do { \
	printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
	dump_stack(); \
	panic("BUG!"); \
} while (0)
#endif

#include <asm-generic/bug.h>
#endif