summaryrefslogtreecommitdiffstats
path: root/arch/mips64/kernel/scall_64.S
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-01-24 01:34:16 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-01-24 01:34:16 +0000
commit49ebe13fa6c623b9c408895097c94e20cbfc73bb (patch)
treedb171de3843627fcbf4c2027059aa9a8f2921d39 /arch/mips64/kernel/scall_64.S
parentde660ee929996543c54446d1f413f9cba288c22d (diff)
Fix the fix.
Diffstat (limited to 'arch/mips64/kernel/scall_64.S')
-rw-r--r--arch/mips64/kernel/scall_64.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips64/kernel/scall_64.S b/arch/mips64/kernel/scall_64.S
index 9241797c7..0e9d40e17 100644
--- a/arch/mips64/kernel/scall_64.S
+++ b/arch/mips64/kernel/scall_64.S
@@ -31,9 +31,12 @@
.align 5
NESTED(handle_sys64, PT_SIZE, sp)
+/* When 32-bit compatibility is configured scall_o32.S already did this. */
+#ifndef CONFIG_MIPS32_COMPAT
.set noat
SAVE_SOME
.set at
+#endif
ld t1, PT_EPC(sp) # skip syscall on return
sltiu t0, v0, MAX_SYSCALL_NO + 1 # check syscall number