diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2018-04-24 17:26:11 +0200 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2018-04-25 17:44:07 +0200 |
commit | 7ff3a7621ddaa4e2186b732ba4b48f9a6bb88719 (patch) | |
tree | a6e45a929264636ebe7c9b1d53e2f36f4e38b5ff /arch/riscv/lib | |
parent | signal/riscv: Use force_sig_fault where appropriate (diff) | |
download | linux-7ff3a7621ddaa4e2186b732ba4b48f9a6bb88719.tar.xz linux-7ff3a7621ddaa4e2186b732ba4b48f9a6bb88719.zip |
signal/riscv: Replace do_trap_siginfo with force_sig_fault
The function force_sig_fault is just the generic version of
do_trap_siginfo with a (void __user *) instead of an unsigned long
parameter for the address.
So just use force_sig_fault to simplify the code.
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Albert Ou <albert@sifive.com>
Cc: linux-riscv@lists.infradead.org
Suggested-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'arch/riscv/lib')
0 files changed, 0 insertions, 0 deletions