Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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
12struct pt_regs;
13struct siginfo;
14
15extern void die(const char *msg, struct pt_regs *regs, int err);
16extern 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__ */