signal/riscv: Replace do_trap_siginfo with force_sig_fault
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 24 Apr 2018 15:26:11 +0000 (10:26 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Wed, 25 Apr 2018 15:44:07 +0000 (10:44 -0500)
commit7ff3a7621ddaa4e2186b732ba4b48f9a6bb88719
treea6e45a929264636ebe7c9b1d53e2f36f4e38b5ff
parent4d6a20b135580092f05baa7beeed218b650768dc
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>
arch/riscv/kernel/traps.c