summaryrefslogtreecommitdiffstats
path: root/arch/csky/include/asm/bug.h
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2020-12-29 06:50:55 +0100
committerGuo Ren <guoren@linux.alibaba.com>2021-01-12 02:52:41 +0100
commitbd0bf90e30c4b886ec10c12498cd56d8e41aaaf3 (patch)
treed22e79e11c125bd26c80ab09d8170c6acb39b830 /arch/csky/include/asm/bug.h
parentcsky: Fixup do_page_fault parent irq status (diff)
downloadlinux-bd0bf90e30c4b886ec10c12498cd56d8e41aaaf3.tar.xz
linux-bd0bf90e30c4b886ec10c12498cd56d8e41aaaf3.zip
csky: Sync riscv mm/fault.c for easy maintenance
Sync arch/riscv/mm/fault.c into arch/csky for easy maintenance. Here are the patches related to the modification: cac4d1d "riscv/mm/fault: Move no context handling to no_context()" ac416a7 "riscv/mm/fault: Move vmalloc fault handling to vmalloc_fault()" 6c11ffb "riscv/mm/fault: Move fault error handling to mm_fault_error()" afb8c6f "riscv/mm/fault: Move access error check to function" bda281d "riscv/mm/fault: Simplify fault error handling" a51271d "riscv/mm/fault: Move bad area handling to bad_area()" Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Cc: Pekka Enberg <penberg@kernel.org> Cc: Palmer Dabbelt <palmerdabbelt@google.com> Cc: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/csky/include/asm/bug.h')
-rw-r--r--arch/csky/include/asm/bug.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/csky/include/asm/bug.h b/arch/csky/include/asm/bug.h
index 33ebd16b9c78..8fbe7d89bf67 100644
--- a/arch/csky/include/asm/bug.h
+++ b/arch/csky/include/asm/bug.h
@@ -21,6 +21,8 @@ do { \
struct pt_regs;
void die(struct pt_regs *regs, const char *str);
+void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr);
+
void show_regs(struct pt_regs *regs);
void show_code(struct pt_regs *regs);