summaryrefslogtreecommitdiffstats
path: root/arch/riscv/include
diff options
context:
space:
mode:
authorEric W. Biederman2019-02-06 02:10:48 +0100
committerEric W. Biederman2019-05-29 16:31:42 +0200
commit6f25a967646aa3204d78eb03f72798169bb18607 (patch)
treeb5c8304287d257ad1b423a40b81c43166c884e43 /arch/riscv/include
parentsignal/sh: Remove tsk parameter from force_sig_info_fault (diff)
downloadkernel-qcow2-linux-6f25a967646aa3204d78eb03f72798169bb18607.tar.gz
kernel-qcow2-linux-6f25a967646aa3204d78eb03f72798169bb18607.tar.xz
kernel-qcow2-linux-6f25a967646aa3204d78eb03f72798169bb18607.zip
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')
-rw-r--r--arch/riscv/include/asm/bug.h2
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__ */