1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 3 #ifndef __ASM_CSKY_BUG_H 4 #define __ASM_CSKY_BUG_H 5 6 #include <linux/compiler.h> 7 #include <linux/const.h> 8 #include <linux/types.h> 9 10 #define BUG() \ 11 do { \ 12 asm volatile ("bkpt\n"); \ 13 unreachable(); \ 14 } while (0) 15 16 #define HAVE_ARCH_BUG 17 18 #include <asm-generic/bug.h> 19 20 struct pt_regs; 21 22 void die(struct pt_regs *regs, const char *str 23 void do_trap(struct pt_regs *regs, int signo, 24 25 void show_regs(struct pt_regs *regs); 26 void show_code(struct pt_regs *regs); 27 28 #endif /* __ASM_CSKY_BUG_H */ 29
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.