drm/ast: Only warn about unsupported TX chips on Gen4 and later
[drm/drm-misc.git] / arch / csky / include / asm / bug.h
blob03f1a5f9184a68cc634be46a072c8338e497cf3b
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>
10 #define BUG() \
11 do { \
12 asm volatile ("bkpt\n"); \
13 unreachable(); \
14 } while (0)
16 #define HAVE_ARCH_BUG
18 #include <asm-generic/bug.h>
20 struct pt_regs;
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 */