|
|
| File: [Development] / linux-2.6-xfs / include / asm-sh / Attic / bug.h (download)
Revision 1.3, Tue Jun 21 15:50:10 2005 UTC (12 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Merge up to 2.6.12 Merge of 2.6.x-xfs-melb:linux:22920a by kenmcd. |
#ifndef __ASM_SH_BUG_H
#define __ASM_SH_BUG_H
#include <linux/config.h>
#ifdef CONFIG_BUG
/*
* Tell the user there is some problem.
*/
#define BUG() do { \
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
*(volatile int *)0 = 0; \
} while (0)
#define HAVE_ARCH_BUG
#endif
#include <asm-generic/bug.h>
#endif