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

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

Revision 1.2, Mon Aug 4 17:03:13 2008 UTC (9 years, 2 months ago) by lachlan.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.1: +13 -0 lines

Merge up to 2.6.26
Merge of 2.6.x-xfs-melb:linux:31804b by kenmcd.

#ifndef _BLACKFIN_BUG_H
#define _BLACKFIN_BUG_H

#ifdef CONFIG_BUG
#define HAVE_ARCH_BUG

#define BUG() do { \
	dump_bfin_trace_buffer(); \
	printk(KERN_EMERG "BUG: failure at %s:%d/%s()!\n", __FILE__, __LINE__, __func__); \
	panic("BUG!"); \
} while (0)

#endif

#include <asm-generic/bug.h>

#endif