1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef __ASM_CSKY_BUG_H
4 #define __ASM_CSKY_BUG_H
6 #include <linux/compiler.h>
7 #include <linux/const.h>
8 #include <linux/types.h>
12 asm volatile ("bkpt\n"); \
18 #include <asm-generic/bug.h>
22 void die(struct pt_regs *regs, const char *str);
23 void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr);
25 void show_regs(struct pt_regs *regs);
26 void show_code(struct pt_regs *regs);
28 #endif /* __ASM_CSKY_BUG_H */