ARM: at91: pm: at91_pm_suspend_in_sram() must be 8-byte aligned
authorPatrick Doyle <pdoyle@irobot.com>
Fri, 16 Oct 2015 10:39:05 +0000 (12:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Dec 2015 19:03:15 +0000 (14:03 -0500)
commit3b389e9e73e0c5cc15d6e002129fc8b85aa700b6
tree72bbe75aa83ae96218babc9ae58c18620858b55e
parent8f62287e6ecac096ba276f1905c7661ba8e59318
ARM: at91: pm: at91_pm_suspend_in_sram() must be 8-byte aligned

commit 5fcf8d1a0e84792b2bc44922c5d833dab96a9c1e upstream.

fncpy() requires that the source and the destination are both 8-byte
aligned.

Signed-off-by: Patrick Doyle <pdoyle@irobot.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Fixes: d94e688cae56 ("ARM: at91/pm: move the copying the sram function to the sram initialization phase")
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-at91/pm_suspend.S