summaryrefslogtreecommitdiff
path: root/include/asm-parisc/bug.h
blob: 51ed91c4b6440015a470986a5e498d51fcf3e33c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef _PARISC_BUG_H
#define _PARISC_BUG_H

/*
 * Tell the user there is some problem.
 */
#define BUG() do { \
	extern void dump_stack(void); \
	printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
	dump_stack(); \
} while (0)

#define PAGE_BUG(page) do { \
	BUG(); \
} while (0)

#endif