Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / arch / unicore32 / include / asm / bug.h
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Bug handling for PKUnity SoC and UniCore ISA
4  *
5  * Copyright (C) 2001-2012 GUAN Xue-tao
6  */
7 #ifndef __UNICORE_BUG_H__
8 #define __UNICORE_BUG_H__
9
10 #include <asm-generic/bug.h>
11
12 struct pt_regs;
13 struct siginfo;
14
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);
19
20 #endif /* __UNICORE_BUG_H__ */