From patchwork Wed Jul 13 14:48:52 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 2679 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id B083223F3F for ; Wed, 13 Jul 2011 14:49:34 +0000 (UTC) Received: from mail-qy0-f173.google.com (mail-qy0-f173.google.com [209.85.216.173]) by fiordland.canonical.com (Postfix) with ESMTP id 7B823A1875F for ; Wed, 13 Jul 2011 14:49:34 +0000 (UTC) Received: by qyk10 with SMTP id 10so399629qyk.11 for ; Wed, 13 Jul 2011 07:49:34 -0700 (PDT) Received: by 10.229.68.200 with SMTP id w8mr1110770qci.114.1310568573930; Wed, 13 Jul 2011 07:49:33 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.217.78 with SMTP id hl14cs23874qcb; Wed, 13 Jul 2011 07:49:33 -0700 (PDT) Received: by 10.52.178.195 with SMTP id da3mr1333688vdc.179.1310568570573; Wed, 13 Jul 2011 07:49:30 -0700 (PDT) Received: from afflict.kos.to (afflict.kos.to [92.243.29.197]) by mx.google.com with ESMTPS id y9si2775905vdt.105.2011.07.13.07.49.29 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Jul 2011 07:49:30 -0700 (PDT) Received-SPF: pass (google.com: domain of riku.voipio@iki.fi designates 92.243.29.197 as permitted sender) client-ip=92.243.29.197; Authentication-Results: mx.google.com; spf=pass (google.com: domain of riku.voipio@iki.fi designates 92.243.29.197 as permitted sender) smtp.mail=riku.voipio@iki.fi Received: from kos.to (a88-115-163-181.elisa-laajakaista.fi [88.115.163.181]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by afflict.kos.to (Postfix) with ESMTPSA id 62C2B26691; Wed, 13 Jul 2011 14:49:27 +0000 (UTC) Received: by kos.to (sSMTP sendmail emulation); Wed, 13 Jul 2011 17:49:26 +0300 From: riku.voipio@iki.fi To: qemu-devel@nongnu.org Cc: Riku Voipio , patches@linaro.org Subject: [PATCH 13/15] linux-user: correct syscall 123 on sh4 Date: Wed, 13 Jul 2011 17:48:52 +0300 Message-Id: X-Mailer: git-send-email 1.7.4.1 In-Reply-To: References: MIME-Version: 1.0 From: Riku Voipio 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 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