mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-14 12:37:32 +00:00
Fix weirdness in <asm/bug.h>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
dbc571690e
commit
8592d4c00e
1 changed files with 2 additions and 3 deletions
|
@ -7,13 +7,12 @@
|
||||||
|
|
||||||
#include <asm/break.h>
|
#include <asm/break.h>
|
||||||
|
|
||||||
#ifdef CONFIG_BUG
|
|
||||||
#define HAVE_ARCH_BUG
|
|
||||||
#define BUG() \
|
#define BUG() \
|
||||||
do { \
|
do { \
|
||||||
__asm__ __volatile__("break %0" : : "i" (BRK_BUG)); \
|
__asm__ __volatile__("break %0" : : "i" (BRK_BUG)); \
|
||||||
} while (0)
|
} while (0)
|
||||||
#endif
|
|
||||||
|
#define HAVE_ARCH_BUG
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue