From: agross@codeaurora.org (Andy Gross)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] firmware: qcom-scm: build for correct architecture level
Date: Tue, 13 Oct 2015 14:49:32 -0500 [thread overview]
Message-ID: <20151013194932.GB7212@qualcomm.com> (raw)
In-Reply-To: <8346311.PtPZJEII3N@wuerfel>
On Mon, Oct 12, 2015 at 04:56:19PM +0200, Arnd Bergmann wrote:
> The ".arch_extension sec" directive is only available on ARMv6 or higher,
> so if we enable the SCM driver while building a kernel for an older CPU,
> we get a build error:
>
> /tmp/ccUyhMOY.s:130: Error: selected processor does not support ARM mode `smc #0'
> /tmp/ccUyhMOY.s:216: Error: selected processor does not support ARM mode `smc #0'
> /tmp/ccUyhMOY.s:373: Error: selected processor does not support ARM mode `smc #0'
> make[4]: *** [drivers/firmware/qcom_scm-32.o] Error 1
>
> This changes the Makefile so we pass the ARMv7 architecture level both
> for the check and for the actual compilation of the scm driver.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
>
Thanks for fixing this. I'll pull it in.
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
prev parent reply other threads:[~2015-10-13 19:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-12 14:56 [PATCH] firmware: qcom-scm: build for correct architecture level Arnd Bergmann
2015-10-13 19:49 ` Andy Gross [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151013194932.GB7212@qualcomm.com \
--to=agross@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).