https://github.com/torvalds/linux
Revision e7b848d731cdf681e06138a2ae4380220a6baac8 authored by Wenyou Yang on 11 March 2015, 02:08:12 UTC, committed by Nicolas Ferre on 11 March 2015, 14:49:47 UTC
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>
1 parent 3440ef1
History
Tip revision: e7b848d731cdf681e06138a2ae4380220a6baac8 authored by Wenyou Yang on 11 March 2015, 02:08:12 UTC
ARM: at91: pm_slowclock: fix the compilation error
Tip revision: e7b848d
File Mode Size
Makefile -rw-r--r-- 287 bytes
ps3-lpm.c -rw-r--r-- 31.2 KB
ps3-sys-manager.c -rw-r--r-- 20.4 KB
ps3-vuart.c -rw-r--r-- 30.5 KB
ps3av.c -rw-r--r-- 27.7 KB
ps3av_cmd.c -rw-r--r-- 23.8 KB
ps3stor_lib.c -rw-r--r-- 9.6 KB
sys-manager-core.c -rw-r--r-- 2.0 KB
vuart.h -rw-r--r-- 3.5 KB

back to top