Re: [PATCH] firmware: qcom-scm: build for correct architecture level

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx>
> 

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

--
To unsubscribe from this list: send the line "unsubscribe linux-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux