Staging
v0.5.1
https://github.com/torvalds/linux
Raw File
Tip revision: 29e8c3c304b62f31b799565c9ee85d42bd163f80 authored by Linus Torvalds on 05 March 2008, 04:33:54 UTC
Linux 2.6.25-rc4
Tip revision: 29e8c3c
bug.h
#ifndef _ASMARM_BUG_H
#define _ASMARM_BUG_H


#ifdef CONFIG_BUG
#ifdef CONFIG_DEBUG_BUGVERBOSE
extern void __bug(const char *file, int line) __attribute__((noreturn));

/* give file/line information */
#define BUG()		__bug(__FILE__, __LINE__)

#else

/* this just causes an oops */
#define BUG()		(*(int *)0 = 0)

#endif

#define HAVE_ARCH_BUG
#endif

#include <asm-generic/bug.h>

#endif
back to top