]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: at91: pm_slowclock: fix the compilation error
authorWenyou Yang <wenyou.yang@atmel.com>
Wed, 11 Mar 2015 02:08:12 +0000 (10:08 +0800)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 11 Mar 2015 14:49:47 +0000 (15:49 +0100)
commite7b848d731cdf681e06138a2ae4380220a6baac8
tree959422fb3c41df87b5d5510aeb3a3849792f1ddb
parent3440ef169100fab5c7a5e7683ddfa05d9d896e90
ARM: at91: pm_slowclock: fix the compilation error

When compiling the kernel in thumb2 (CONFIG_THUMB2_KERNEL option activated), we
hit a compilation crash. The error message is listed below:

---8< -----
Error: cannot use register index with PC-relative addressing -- `str r0,.saved_lpr'
--->8----

Add the .arm directive in the assembly files related to power management.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
arch/arm/mach-at91/pm_slowclock.S