|
|
| File: [Development] / linux-2.6-xfs / include / asm-m68k / bug.h (download)
Revision 1.2, Fri Oct 1 15:10:15 2004 UTC (13 years, 1 month ago) by nathans.longdrop.melbourne.sgi.com
Upgrade kernel to 2.6.9-rc3 and kdb to 4.4 Merge of 2.6.x-xfs-melb:linux:19628a by kenmcd. |
#ifndef _M68K_BUG_H
#define _M68K_BUG_H
#include <linux/config.h>
#ifdef CONFIG_DEBUG_BUGVERBOSE
#ifndef CONFIG_SUN3
#define BUG() do { \
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
asm volatile("illegal"); \
} while (0)
#else
#define BUG() do { \
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
panic("BUG!"); \
} while (0)
#endif
#else
#define BUG() do { \
asm volatile("illegal"); \
} while (0)
#endif
#define HAVE_ARCH_BUG
#include <asm-generic/bug.h>
#endif