qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 13/15] linux-user: correct syscall 123 on sh4


From: riku . voipio
Subject: [Qemu-devel] [PATCH 13/15] linux-user: correct syscall 123 on sh4
Date: Wed, 13 Jul 2011 17:48:52 +0300

From: Riku Voipio <address@hidden>

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 <address@hidden>
Signed-off-by: Riku Voipio <address@hidden>
Cc: address@hidden

---
 linux-user/sh4/syscall_nr.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/linux-user/sh4/syscall_nr.h b/linux-user/sh4/syscall_nr.h
index 6173a7c..365db58 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
-- 
1.7.4.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]