swh:1:snp:c3bf2749e3476071fa748f67b0ffa2fdc5fe49d9
Raw File
Tip revision: a8bd60705aa17a998516837d9c1e503ad4cbd7fc authored by Linus Torvalds on 25 May 2006, 01:50:17 UTC
Linux 2.6.17-rc5
Tip revision: a8bd607
bug.h
#ifndef _SPARC64_BUG_H
#define _SPARC64_BUG_H

#ifdef CONFIG_BUG
#include <linux/compiler.h>

#ifdef CONFIG_DEBUG_BUGVERBOSE
extern void do_BUG(const char *file, int line);
#define BUG() do {					\
	do_BUG(__FILE__, __LINE__);			\
	__builtin_trap();				\
} while (0)
#else
#define BUG()		__builtin_trap()
#endif

#define HAVE_ARCH_BUG
#endif

#include <asm-generic/bug.h>

#endif
back to top