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
Kconfig -rw-r--r-- 1.9 KB
Makefile -rw-r--r-- 688 bytes
README -rw-r--r-- 956 bytes
TODO -rw-r--r-- 96 bytes
bcma_private.h -rw-r--r-- 3.7 KB
core.c -rw-r--r-- 3.6 KB
driver_chipcommon.c -rw-r--r-- 8.9 KB
driver_chipcommon_b.c -rw-r--r-- 1.3 KB
driver_chipcommon_nflash.c -rw-r--r-- 1.1 KB
driver_chipcommon_pmu.c -rw-r--r-- 18.9 KB
driver_chipcommon_sflash.c -rw-r--r-- 4.2 KB
driver_gmac_cmn.c -rw-r--r-- 265 bytes
driver_gpio.c -rw-r--r-- 6.1 KB
driver_mips.c -rw-r--r-- 11.4 KB
driver_pci.c -rw-r--r-- 9.2 KB
driver_pci_host.c -rw-r--r-- 17.4 KB
driver_pcie2.c -rw-r--r-- 5.0 KB
host_pci.c -rw-r--r-- 7.8 KB
host_soc.c -rw-r--r-- 5.5 KB
main.c -rw-r--r-- 15.6 KB
scan.c -rw-r--r-- 13.9 KB
scan.h -rw-r--r-- 1.7 KB
sprom.c -rw-r--r-- 20.9 KB

README

back to top