Merge with Linux 2.5.59.
[linux-2.6/linux-mips.git] / include / asm-sparc64 / bug.h
blob603ada787ac2d8e47c90cda58546a3d04ad7877c
1 /* $Id$ */
3 #ifndef _SPARC64_BUG_H
4 #define _SPARC64_BUG_H
6 #ifdef CONFIG_DEBUG_BUGVERBOSE
7 extern void do_BUG(const char *file, int line);
8 #define BUG() do { \
9 do_BUG(__FILE__, __LINE__); \
10 __builtin_trap(); \
11 } while (0)
12 #else
13 #define BUG() __builtin_trap()
14 #endif
16 #define PAGE_BUG(page) do { \
17 BUG(); \
18 } while (0)
20 #endif