summaryrefslogtreecommitdiffstats
path: root/linux-user
diff options
context:
space:
mode:
authorRiku Voipio2011-07-12 15:01:54 +0200
committerRiku Voipio2011-07-13 16:11:37 +0200
commitc3edf3472faf3dad73a0c504db8e9d853debfde6 (patch)
treebcb44ec9e71fe1f4232ccc3ec5113ee7fad640e3 /linux-user
parentmips: rlimit codes are not the same (diff)
downloadqemu-c3edf3472faf3dad73a0c504db8e9d853debfde6.tar.gz
qemu-c3edf3472faf3dad73a0c504db8e9d853debfde6.tar.xz
qemu-c3edf3472faf3dad73a0c504db8e9d853debfde6.zip
linux-user: correct syscall 123 on sh4
As reported by Cédric VINCENT: The syscall #123 on SH4 should be "TARGET_NR_cacheflush" instead of "TARGET_NR_modify_ldt" [1]. The only consequence of this misnaming is that many "Unsupported syscall" warnings are issued when emulating JIT compilers. Reported-by: Cédric VINCENT <cedric.vincent@st.com> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/sh4/syscall_nr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/sh4/syscall_nr.h b/linux-user/sh4/syscall_nr.h
index 6173a7c059..365db586c7 100644
--- a/linux-user/sh4/syscall_nr.h
+++ b/linux-user/sh4/syscall_nr.h
@@ -125,7 +125,7 @@
#define TARGET_NR_clone 120
#define TARGET_NR_setdomainname 121
#define TARGET_NR_uname 122
-#define TARGET_NR_modify_ldt 123
+#define TARGET_NR_cacheflush 123
#define TARGET_NR_adjtimex 124
#define TARGET_NR_mprotect 125
#define TARGET_NR_sigprocmask 126