ARM: davinci: fix sleep.S build error on ARMv4
Subsystems (3)
PATCH RESEND 1/1 ARM: davinci: fix sleep.S build error on ARMv4
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.
Acked-by Sekhar Nori <[email protected]>
Signed-off-by Arnd Bergmann <[email protected]>
---
I forgot to pick this up for arm-soc, sending again so it ends up in the inbox
--- arch/arm/mach-davinci/sleep.S | 1 + 1 file changed, 1 insertion(+)
arch/arm/mach-davinci/sleep.S +1 -0
@@ -24,6 +24,7 @@ #define DEEPSLEEP_SLEEPENABLE_BIT BIT(31) .text + .arch armv5te /* * Move DaVinci into deep sleep state *
Signature · 1 line
2.20.0