summaryrefslogtreecommitdiff
path: root/arch/nios2/include/asm/traps.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nios2/include/asm/traps.h')
-rw-r--r--arch/nios2/include/asm/traps.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/nios2/include/asm/traps.h b/arch/nios2/include/asm/traps.h
index 82a48473280d..133a3dedbc3e 100644
--- a/arch/nios2/include/asm/traps.h
+++ b/arch/nios2/include/asm/traps.h
@@ -12,8 +12,10 @@
#define TRAP_ID_SYSCALL 0
-#ifndef __ASSEMBLY__
+#ifndef __ASSEMBLER__
void _exception(int signo, struct pt_regs *regs, int code, unsigned long addr);
+void do_page_fault(struct pt_regs *regs, unsigned long cause,
+ unsigned long address);
#endif
#endif /* _ASM_NIOS2_TRAPS_H */