1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Bug handling for PKUnity SoC and UniCore ISA
5 * Copyright (C) 2001-2012 GUAN Xue-tao
7 #ifndef __UNICORE_BUG_H__
8 #define __UNICORE_BUG_H__
10 #include <asm-generic/bug.h>
15 extern void die(const char *msg
, struct pt_regs
*regs
, int err
);
16 extern void uc32_notify_die(const char *str
, struct pt_regs
*regs
,
17 int sig
, int code
, void __user
*addr
,
18 unsigned long err
, unsigned long trap
);
20 #endif /* __UNICORE_BUG_H__ */