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-- 2.0 KB
Makefile -rw-r--r-- 1.2 KB
tuner-core.c -rw-r--r-- 34.6 KB
v4l2-async.c -rw-r--r-- 7.0 KB
v4l2-clk.c -rw-r--r-- 5.4 KB
v4l2-common.c -rw-r--r-- 11.5 KB
v4l2-compat-ioctl32.c -rw-r--r-- 28.5 KB
v4l2-ctrls.c -rw-r--r-- 99.7 KB
v4l2-dev.c -rw-r--r-- 31.7 KB
v4l2-device.c -rw-r--r-- 7.8 KB
v4l2-dv-timings.c -rw-r--r-- 19.7 KB
v4l2-event.c -rw-r--r-- 8.5 KB
v4l2-fh.c -rw-r--r-- 3.2 KB
v4l2-ioctl.c -rw-r--r-- 78.7 KB
v4l2-mem2mem.c -rw-r--r-- 24.0 KB
v4l2-of.c -rw-r--r-- 4.1 KB
v4l2-subdev.c -rw-r--r-- 13.5 KB
videobuf-core.c -rw-r--r-- 26.8 KB
videobuf-dma-contig.c -rw-r--r-- 9.7 KB
videobuf-dma-sg.c -rw-r--r-- 16.4 KB
videobuf-dvb.c -rw-r--r-- 10.0 KB
videobuf-vmalloc.c -rw-r--r-- 8.3 KB
videobuf2-core.c -rw-r--r-- 95.5 KB
videobuf2-dma-contig.c -rw-r--r-- 19.9 KB
videobuf2-dma-sg.c -rw-r--r-- 17.4 KB
videobuf2-dvb.c -rw-r--r-- 8.2 KB
videobuf2-memops.c -rw-r--r-- 4.9 KB
videobuf2-vmalloc.c -rw-r--r-- 10.5 KB

back to top