]> git.proxmox.com Git - qemu.git/commitdiff
linux-user: correct syscall 123 on sh4
authorRiku Voipio <riku.voipio@linaro.org>
Tue, 12 Jul 2011 13:01:54 +0000 (16:01 +0300)
committerRiku Voipio <riku.voipio@linaro.org>
Wed, 13 Jul 2011 14:11:37 +0000 (17:11 +0300)
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>
linux-user/sh4/syscall_nr.h

index 6173a7c0599baa2ca21b78d7bd4378af079619fb..365db586c7b8c69724322c92310d444e95850443 100644 (file)
 #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