[PATCH] fixup! ARM: implement ENTRY_FUNCTION_WITHSTACK
Ahmad Fatoum
a.fatoum at pengutronix.de
Wed Dec 1 23:56:08 PST 2021
We want same prologue for both. Otherwise header is shifted.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
arch/arm/include/asm/barebox-arm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/include/asm/barebox-arm.h b/arch/arm/include/asm/barebox-arm.h
index d70de6d5e6e6..5018b3e2f57a 100644
--- a/arch/arm/include/asm/barebox-arm.h
+++ b/arch/arm/include/asm/barebox-arm.h
@@ -215,6 +215,7 @@ static inline unsigned long arm_mem_barebox_image(unsigned long membase,
(ulong r0, ulong r1, ulong r2) \
{ \
__barebox_arm_head(); \
+ __ARM_SETUP_STACK(0); \
__##name(r0, r1, r2); \
} \
static void NAKED noinline __##name \
--
2.30.2
More information about the barebox
mailing list