From patchwork Tue Jul 16 17:44:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 18390 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ye0-f198.google.com (mail-ye0-f198.google.com [209.85.213.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EEC2525E13 for ; Tue, 16 Jul 2013 17:45:18 +0000 (UTC) Received: by mail-ye0-f198.google.com with SMTP id m13sf1020507yen.1 for ; Tue, 16 Jul 2013 10:45:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=CnoIC8D4p19trJftlGdOLtzCHfaplv7OOPGClNCzg10=; b=UrVyckaUteaPL5zIbhCVQz+7QAS4dJbIjIDVmGz778UCKUgrB/llzhs5daSX70HWGM mo9y4P6X608VXh4mmhc5Mfl20jAqEEUL5vHbuT8oOW7XXvOySODRbeYzAi27Tx1qSc/p kCbBqMubjScSk3+QE3wDfDNm6k4Ctbh4gdilzGp0BaoBcG5U4faVePqUie9/Vc/HCp8A XvYF5PQlBLxz7Yqok0sxBkVMc1DVe9ZcjMMcnquWhucjsDDbfMXWIQwrP2TZEDpW4iso 9YQJAFlmgjHL12BH9YlHVIUPcxEBWYBgt7fCp1RBeK7Bas03189YRDnBfsyc3O7RPd45 R97Q== X-Received: by 10.236.125.200 with SMTP id z48mr1278221yhh.55.1373996718676; Tue, 16 Jul 2013 10:45:18 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.131.129 with SMTP id om1ls372429qeb.59.gmail; Tue, 16 Jul 2013 10:45:18 -0700 (PDT) X-Received: by 10.220.198.133 with SMTP id eo5mr798351vcb.24.1373996718554; Tue, 16 Jul 2013 10:45:18 -0700 (PDT) Received: from mail-vc0-f174.google.com (mail-vc0-f174.google.com [209.85.220.174]) by mx.google.com with ESMTPS id ex7si459541vdb.44.2013.07.16.10.45.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 16 Jul 2013 10:45:18 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.174; Received: by mail-vc0-f174.google.com with SMTP id kw10so660064vcb.5 for ; Tue, 16 Jul 2013 10:45:18 -0700 (PDT) X-Received: by 10.52.91.202 with SMTP id cg10mr652172vdb.85.1373996718488; Tue, 16 Jul 2013 10:45:18 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.149.77 with SMTP id s13csp131955vcv; Tue, 16 Jul 2013 10:45:18 -0700 (PDT) X-Received: by 10.15.73.197 with SMTP id h45mr2480112eey.146.1373996715973; Tue, 16 Jul 2013 10:45:15 -0700 (PDT) Received: from mnementh.archaic.org.uk (1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.1.0.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:1d0::1]) by mx.google.com with ESMTPS id r41si2258169eeo.193.2013.07.16.10.45.15 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 16 Jul 2013 10:45:15 -0700 (PDT) Received-SPF: neutral (google.com: 2001:8b0:1d0::1 is neither permitted nor denied by best guess record for domain of pm215@archaic.org.uk) client-ip=2001:8b0:1d0::1; Received: from pm215 by mnementh.archaic.org.uk with local (Exim 4.80) (envelope-from ) id 1Uz9J7-0007dP-Ti; Tue, 16 Jul 2013 18:45:01 +0100 From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org, Riku Voipio , Richard Henderson , Aurelien Jarno , Alexander Graf , Blue Swirl , Guan Xuetao , "Edgar E. Iglesias" , Jia Liu , Laurent Vivier Subject: [PATCH v3 09/13] linux-user: Add missing 'break' in i386 get_thread_area syscall Date: Tue, 16 Jul 2013 18:44:56 +0100 Message-Id: <1373996700-29286-10-git-send-email-peter.maydell@linaro.org> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1373996700-29286-1-git-send-email-peter.maydell@linaro.org> References: <1373996700-29286-1-git-send-email-peter.maydell@linaro.org> X-Gm-Message-State: ALoCoQn+ZNR3TzTlrz0BbspahYS8emozVwk5T6x6jrt3DhLHMRBDmm04FaH+TcuhQwn70WcGRL8e X-Original-Sender: peter.maydell@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.174 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The i386 code for the get_thread_area syscall was missing a 'break' which meant it would have fallen through into the implementation of the following syscall; add it. Signed-off-by: Peter Maydell Reviewed-by: Richard Henderson --- linux-user/syscall.c | 1 + 1 file changed, 1 insertion(+) diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 9619656..642d0a3 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -8572,6 +8572,7 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, case TARGET_NR_get_thread_area: #if defined(TARGET_I386) && defined(TARGET_ABI32) ret = do_get_thread_area(cpu_env, arg1); + break; #elif defined(TARGET_M68K) { TaskState *ts = ((CPUArchState *)cpu_env)->opaque;