From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh0ko-0006iC-K2 for qemu-devel@nongnu.org; Wed, 13 Jul 2011 10:49:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qh0kj-0007uv-P8 for qemu-devel@nongnu.org; Wed, 13 Jul 2011 10:49:34 -0400 Received: from afflict.kos.to ([92.243.29.197]:47357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qh0kj-0007uj-7M for qemu-devel@nongnu.org; Wed, 13 Jul 2011 10:49:29 -0400 From: riku.voipio@iki.fi Date: Wed, 13 Jul 2011 17:48:52 +0300 Message-Id: In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH 13/15] linux-user: correct syscall 123 on sh4 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Riku Voipio , patches@linaro.org From: Riku Voipio As reported by C=C3=A9dric 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=C3=A9dric VINCENT Signed-off-by: Riku Voipio Cc: patches@linaro.org --- 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 --=20 1.7.4.1