diff options
author | David Daney <ddaney@caviumnetworks.com> | 2008-10-31 11:23:09 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-12-04 17:47:28 +0000 |
commit | c6cb4df96fa22d1174d6fb6dfc2c7501d7afaeea (patch) | |
tree | 6d2cdd328dceb8f2fb0a8e0eec159e22e04b978b /arch/mips/kernel/scall64-o32.S | |
parent | 8d13cb26cd3bf23946743a5b4af2fecd88fc4974 (diff) | |
download | op-kernel-dev-c6cb4df96fa22d1174d6fb6dfc2c7501d7afaeea.zip op-kernel-dev-c6cb4df96fa22d1174d6fb6dfc2c7501d7afaeea.tar.gz |
MIPS: Return ENOSYS from sys32_syscall on 64bit kernels like elsewhere.
When the o32 errno was changed to ENOSYS, we forgot to update the code
for 64bit kernels.
Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Acked-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/scall64-o32.S')
-rw-r--r-- | arch/mips/kernel/scall64-o32.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/scall64-o32.S b/arch/mips/kernel/scall64-o32.S index 3d55e3b..fefef4a 100644 --- a/arch/mips/kernel/scall64-o32.S +++ b/arch/mips/kernel/scall64-o32.S @@ -196,7 +196,7 @@ LEAF(sys32_syscall) jr t2 /* Unreached */ -einval: li v0, -EINVAL +einval: li v0, -ENOSYS jr ra END(sys32_syscall) |