MIPS: Fix error values in case of bad_stack
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 28 Sep 2010 17:50:47 +0000 (18:50 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 18 Oct 2010 15:59:03 +0000 (16:59 +0100)
commit5b89c0044e048842245193b200b61e5f998abd9a
treed2908dcdfaf8903b6af5d5731f5ec2a87fc50b67
parent8f5a00eb422ed86e77bb8f67e08b9fe6d30f679a
MIPS: Fix error values in case of bad_stack

We want EFAULT, not -<syscall number>

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Cc: linux-kernel@vger.kernel.org
Cc: linux-arch@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1699/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/scall32-o32.S
arch/mips/kernel/scall64-o32.S