[ARM] Wrap calls to descriptor handlers
[deliverable/linux.git] / include / asm-arm / bug.h
CommitLineData
1da177e4
LT
1#ifndef _ASMARM_BUG_H
2#define _ASMARM_BUG_H
3
4#include <linux/config.h>
5
c8538a7a 6#ifdef CONFIG_BUG
1da177e4 7#ifdef CONFIG_DEBUG_BUGVERBOSE
33215652 8extern void __bug(const char *file, int line, void *data) __attribute__((noreturn));
1da177e4
LT
9
10/* give file/line information */
11#define BUG() __bug(__FILE__, __LINE__, NULL)
12
13#else
14
15/* this just causes an oops */
16#define BUG() (*(int *)0 = 0)
17
18#endif
19
20#define HAVE_ARCH_BUG
c8538a7a
MM
21#endif
22
1da177e4
LT
23#include <asm-generic/bug.h>
24
25#endif
This page took 0.053829 seconds and 5 git commands to generate.