Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / arch / nios2 / include / asm / traps.h
blobafd77bef01c65de5c8eb17b4b9c953b45ce91a26
1 /*
2 * Copyright (C) 2011 Tobias Klauser <tklauser@distanz.ch>
3 * Copyright (C) 2004 Microtronix Datacom Ltd.
5 * This file is subject to the terms and conditions of the GNU General Public
6 * License. See the file "COPYING" in the main directory of this archive
7 * for more details.
8 */
10 #ifndef _ASM_NIOS2_TRAPS_H
11 #define _ASM_NIOS2_TRAPS_H
13 #define TRAP_ID_SYSCALL 0
15 #ifndef __ASSEMBLY__
16 void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr);
17 void do_page_fault(struct pt_regs *regs, unsigned long cause,
18 unsigned long address);
19 #endif
21 #endif /* _ASM_NIOS2_TRAPS_H */