Re: [PATCH] pm: at91: pm_slowclock: fix the compilation error

2015-03-11 Thread Nicolas Ferre
Le 11/03/2015 03:08, Wenyou Yang a écrit : > When compiling the kernel in thumb2 (CONFIG_THUMB2_KERNEL option activated), > we > hit a compilation error. The error message is listed below: > > ---8< - > Error: cannot use register index with PC-relative addressing -- `str > r0,.saved_lpr' >

Re: [PATCH] pm: at91: pm_slowclock: fix the compilation error

2015-03-11 Thread Nicolas Ferre
Le 11/03/2015 03:08, Wenyou Yang a écrit : When compiling the kernel in thumb2 (CONFIG_THUMB2_KERNEL option activated), we hit a compilation error. The error message is listed below: ---8 - Error: cannot use register index with PC-relative addressing -- `str r0,.saved_lpr' ---8

[PATCH] pm: at91: pm_slowclock: fix the compilation error

2015-03-10 Thread Wenyou Yang
When compiling the kernel in thumb2 (CONFIG_THUMB2_KERNEL option activated), we hit a compilation error. 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

[PATCH] pm: at91: pm_slowclock: fix the compilation error

2015-03-10 Thread Wenyou Yang
When compiling the kernel in thumb2 (CONFIG_THUMB2_KERNEL option activated), we hit a compilation error. 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