3
0
mirror of https://github.com/Qortal/Brooklyn.git synced 2025-02-13 10:45:54 +00:00

28 lines
546 B
C
Raw Normal View History

2021-05-27 00:09:36 +05:00
/* SPDX-License-Identifier: GPL-2.0 */
2021-09-23 21:59:15 +05:00
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
2021-05-27 00:09:36 +05:00
#ifndef __ASM_CSKY_BUG_H
#define __ASM_CSKY_BUG_H
#include <linux/compiler.h>
#include <linux/const.h>
#include <linux/types.h>
#define BUG() \
do { \
asm volatile ("bkpt\n"); \
unreachable(); \
} while (0)
#define HAVE_ARCH_BUG
#include <asm-generic/bug.h>
struct pt_regs;
void die(struct pt_regs *regs, const char *str);
void show_regs(struct pt_regs *regs);
void show_code(struct pt_regs *regs);
#endif /* __ASM_CSKY_BUG_H */