From ae0181dc9239e7db1c05217852ccdedf255f918f Mon Sep 17 00:00:00 2001 From: Patrick Doyle Date: Wed, 14 Oct 2015 11:56:23 -0400 Subject: [PATCH] at91_pm_suspend_in_sram() must be 8-byte aligned ...as per the requirements of fncpy(). --- arch/arm/mach-at91/pm_suspend.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-at91/pm_suspend.S b/arch/arm/mach-at91/pm_suspend.S index 75fe59c47e066f..35ff93ec209e8e 100644 --- a/arch/arm/mach-at91/pm_suspend.S +++ b/arch/arm/mach-at91/pm_suspend.S @@ -85,6 +85,8 @@ tmp2 .req r5 * @r2: base address of second SDRAM Controller or 0 if not present * @r3: pm information */ +/* at91_pm_suspend_in_sram must be 8-byte aligned per the requirements of fncpy() */ + .align 3 ENTRY(at91_pm_suspend_in_sram) /* Save registers on stack */ stmfd sp!, {r4 - r12, lr}