Message ID | 1427105174-20072-1-git-send-email-linus.walleij@linaro.org |
---|---|
State | Accepted |
Commit | e769f68613ee4f84c8e2aea784335df74ceea397 |
Headers | show
Return-Path: <patchwork-forward+bncBDE6RCFOWIARBLOLX6UAKGQEGCFOJZA@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C753E20D10 for <linaro@patches.linaro.org>; Mon, 23 Mar 2015 10:06:38 +0000 (UTC) Received: by lbvp9 with SMTP id p9sf26357849lbv.0 for <linaro@patches.linaro.org>; Mon, 23 Mar 2015 03:06:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:date:message-id:cc:subject :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:errors-to:sender:x-original-sender :x-original-authentication-results:mailing-list; bh=c7ohUHuNxriBocbRcQAKeXQZ0EgtfYaLTR+Jpb5zV6Q=; b=DdcBnGZcATfTWGA2fngzInrqGeQ6cUmaJkMIyPPUpG4qDIL/AMXQMy2a2FOq3dbB0D WC6IwHJuFRD3zxIcuvM/YgkyLoedlGHF/UrlC+HVe8FFRG1Xmyl+1eirFFhvcJDRmCR2 X220LHfCMw80AEyc+E8SQm5GpaiZvZVXt8fqUpyQIoh+cDnwPg93XzQYgMjcYE1ZHCbm kgvypuzsn/CwOITzUFSDfDG9Wctbm45DCBdVusUxjQcQaj+lyWfSTwFgbER/VD1cS3W0 uWlXYGTkXZ4KoEER8eppATVJk0nigFKVZDk0hanC4DXYadTy2lMljiWxpkxAVIHVvXOS 2xUw== X-Gm-Message-State: ALoCoQknWOW/H33FbVTl32rnLFJ1i+vlN4CB6n+K9g0jv/FTWCN4ryKupyLZtAipB26Wd+apKW18 X-Received: by 10.194.11.70 with SMTP id o6mr15405296wjb.6.1427105197787; Mon, 23 Mar 2015 03:06:37 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.224.165 with SMTP id rd5ls21016lac.77.gmail; Mon, 23 Mar 2015 03:06:37 -0700 (PDT) X-Received: by 10.112.54.165 with SMTP id k5mr83514547lbp.57.1427105197459; Mon, 23 Mar 2015 03:06:37 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id f7si302480lab.19.2015.03.23.03.06.37 for <patchwork-forward@linaro.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Mar 2015 03:06:37 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by labto5 with SMTP id to5so22170342lab.0 for <patchwork-forward@linaro.org>; Mon, 23 Mar 2015 03:06:37 -0700 (PDT) X-Received: by 10.152.19.199 with SMTP id h7mr9168828lae.32.1427105197314; Mon, 23 Mar 2015 03:06:37 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.57.201 with SMTP id k9csp724739lbq; Mon, 23 Mar 2015 03:06:36 -0700 (PDT) X-Received: by 10.180.83.195 with SMTP id s3mr18344475wiy.54.1427105196772; Mon, 23 Mar 2015 03:06:36 -0700 (PDT) Received: from theia.denx.de (theia.denx.de. [85.214.87.163]) by mx.google.com with ESMTP id n7si11103448wik.1.2015.03.23.03.06.33; Mon, 23 Mar 2015 03:06:36 -0700 (PDT) Received-SPF: none (google.com: u-boot-bounces@lists.denx.de does not designate permitted sender hosts) client-ip=85.214.87.163; Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 28A75A7437; Mon, 23 Mar 2015 11:06:33 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GalOH6Y7DyPY; Mon, 23 Mar 2015 11:06:32 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 7215AA7425; Mon, 23 Mar 2015 11:06:32 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 52C33A7425 for <u-boot@lists.denx.de>; Mon, 23 Mar 2015 11:06:29 +0100 (CET) Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mXSowblBehKO for <u-boot@lists.denx.de>; Mon, 23 Mar 2015 11:06:29 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com [209.85.217.170]) by theia.denx.de (Postfix) with ESMTPS id 12A90A7422 for <u-boot@lists.denx.de>; Mon, 23 Mar 2015 11:06:25 +0100 (CET) Received: by lbcgn8 with SMTP id gn8so114473819lbc.2 for <u-boot@lists.denx.de>; Mon, 23 Mar 2015 03:06:25 -0700 (PDT) X-Received: by 10.112.151.2 with SMTP id um2mr33517473lbb.31.1427105185227; Mon, 23 Mar 2015 03:06:25 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id x7sm87147lag.3.2015.03.23.03.06.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Mar 2015 03:06:23 -0700 (PDT) From: Linus Walleij <linus.walleij@linaro.org> To: u-boot@lists.denx.de, Albert Aribaud <albert.u.boot@aribaud.net>, Tom Rini <trini@konsulko.com> Date: Mon, 23 Mar 2015 11:06:10 +0100 Message-Id: <1427105174-20072-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 Cc: Steve Rae <srae@broadcom.com>, u-boot-review@google.com Subject: [U-Boot] [PATCH 1/5] armv8: semihosting: do not inline trap call X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.15 Precedence: list List-Id: <patchwork-forward.linaro.org> List-Unsubscribe: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Subscribe: <http://lists.denx.de/mailman/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 |
diff --git a/arch/arm/lib/semihosting.c b/arch/arm/lib/semihosting.c index fd6d8573f560..d3f724b726e1 100644 --- a/arch/arm/lib/semihosting.c +++ b/arch/arm/lib/semihosting.c @@ -26,7 +26,7 @@ /* * Call the handler */ -static long smh_trap(unsigned int sysnum, void *addr) +static noinline long smh_trap(unsigned int sysnum, void *addr) { register long result asm("r0"); #if defined(CONFIG_ARM64)
The semihosting trap call does not like being inlined, probably because that will mean register reordering screwing up the return value in r0, so tag this function "noinline". Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- arch/arm/lib/semihosting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)