diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2019-02-05 19:10:48 -0600 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2019-05-29 09:31:42 -0500 |
commit | 6f25a967646aa3204d78eb03f72798169bb18607 (patch) | |
tree | b5c8304287d257ad1b423a40b81c43166c884e43 /arch/riscv/include/asm/bug.h | |
parent | e1656829719f9e8005ae281984b5624fc2604ad3 (diff) |
signal/riscv: Remove tsk parameter from do_trap
The do_trap function is always called with tsk == current.
Make that obvious by removing the tsk parameter.
This also makes it clear that do_trap calls force_sig_fault
on the current task.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'arch/riscv/include/asm/bug.h')
-rw-r--r-- | arch/riscv/include/asm/bug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/include/asm/bug.h b/arch/riscv/include/asm/bug.h index 52a1fbdeab3b..f1390914ba7a 100644 --- a/arch/riscv/include/asm/bug.h +++ b/arch/riscv/include/asm/bug.h @@ -94,7 +94,7 @@ struct task_struct; extern void die(struct pt_regs *regs, const char *str); extern void do_trap(struct pt_regs *regs, int signo, int code, - unsigned long addr, struct task_struct *tsk); + unsigned long addr); #endif /* !__ASSEMBLY__ */ |