signal/riscv: Remove tsk parameter from do_trap
authorEric W. Biederman <ebiederm@xmission.com>
Wed, 6 Feb 2019 01:10:48 +0000 (19:10 -0600)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 29 May 2019 14:31:42 +0000 (09:31 -0500)
commit6f25a967646aa3204d78eb03f72798169bb18607
treeb5c8304287d257ad1b423a40b81c43166c884e43
parente1656829719f9e8005ae281984b5624fc2604ad3
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>
arch/riscv/include/asm/bug.h
arch/riscv/kernel/traps.c
arch/riscv/mm/fault.c