[BACK]Return to bug.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / asm-parisc

File: [Development] / linux-2.6-xfs / include / asm-parisc / bug.h (download)

Revision 1.4, Tue Jun 21 15:50:10 2005 UTC (12 years, 4 months ago) by nathans.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.3: +2 -0 lines

Merge up to 2.6.12
Merge of 2.6.x-xfs-melb:linux:22920a by kenmcd.

#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