Skip to content

Commit bd0bf90

Browse files
committed
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>
1 parent 0f7e8ef commit bd0bf90

2 files changed

Lines changed: 189 additions & 155 deletions

File tree

‎arch/csky/include/asm/bug.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ do { \
2121
struct pt_regs;
2222

2323
void die(struct pt_regs *regs, const char *str);
24+
void do_trap(struct pt_regs *regs, int signo, int code, unsigned long addr);
25+
2426
void show_regs(struct pt_regs *regs);
2527
void show_code(struct pt_regs *regs);
2628

0 commit comments

Comments
 (0)