forked from Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
352 B
23 lines
352 B
/* SPDX-License-Identifier: GPL-2.0 */ |
|
#ifndef __ASM_BUG_H |
|
#define __ASM_BUG_H |
|
|
|
#include <linux/compiler.h> |
|
|
|
#ifdef CONFIG_BUG |
|
|
|
#include <asm/break.h> |
|
|
|
static inline void __noreturn BUG(void) |
|
{ |
|
__asm__ __volatile__("break %0" : : "i" (BRK_BUG)); |
|
unreachable(); |
|
} |
|
|
|
#define HAVE_ARCH_BUG |
|
|
|
#endif |
|
|
|
#include <asm-generic/bug.h> |
|
|
|
#endif /* __ASM_BUG_H */
|
|
|