/* SPDX-License-Identifier: GPL-2.0 */12#ifndef __ASM_CSKY_BUG_H3#define __ASM_CSKY_BUG_H45#include <linux/compiler.h>6#include <linux/const.h>7#include <linux/types.h>89#define BUG() \10do { \11asm volatile ("bkpt\n"); \12unreachable(); \13} while (0)1415#define HAVE_ARCH_BUG1617#include <asm-generic/bug.h>1819struct pt_regs;2021void die(struct pt_regs *regs, const char *str);22void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr);2324void show_regs(struct pt_regs *regs);25void show_code(struct pt_regs *regs);2627#endif /* __ASM_CSKY_BUG_H */282930