aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-parisc/bug.h
blob: 695588da41f8a73bb31d3fbeb7c686bf0fdfa751 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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