]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blob - arch/unicore32/include/asm/bug.h
Merge branch 'work.afs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[mirror_ubuntu-hirsute-kernel.git] / arch / unicore32 / include / asm / bug.h
1 /*
2 * Bug handling for PKUnity SoC and UniCore ISA
3 *
4 * Copyright (C) 2001-2012 GUAN Xue-tao
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
10 #ifndef __UNICORE_BUG_H__
11 #define __UNICORE_BUG_H__
12
13 #include <asm-generic/bug.h>
14
15 struct pt_regs;
16 struct siginfo;
17
18 extern void die(const char *msg, struct pt_regs *regs, int err);
19 extern void uc32_notify_die(const char *str, struct pt_regs *regs,
20 int sig, int code, void __user *addr,
21 unsigned long err, unsigned long trap);
22
23 #endif /* __UNICORE_BUG_H__ */