Re: [PATCH] [RESEND] ARM: davinci: fix sleep.S build error on ARMv4

From: Sekhar Nori
Date: Wed Jun 19 2019 - 10:59:34 EST


Hi Arnd,

On 19/06/19 6:41 PM, Arnd Bergmann wrote:
> When building a multiplatform kernel that includes armv4 support,
> the default target CPU does not support the blx instruction,
> which leads to a build failure:
>
> arch/arm/mach-davinci/sleep.S: Assembler messages:
> arch/arm/mach-davinci/sleep.S:56: Error: selected processor does not support `blx ip' in ARM mode
>
> Add a .arch statement in the sources to make this file build.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Tested on OMAP-L138 LCDK board with suspend-resume.

Assuming you will pick this directly:

Acked-by: Sekhar Nori <nsekhar@xxxxxx>

Regards,
Sekhar