Thread (3 messages) flat view 3 messages, 2 authors, 2014-08-11

Re: [PATCH] powerpc: Fix "attempt to move .org backwards" error

From: Guenter Roeck <linux@roeck-us.net>
Date: 2014-08-11 16:25:12
Also in: lkml

On 08/10/2014 05:20 PM, Stephen Rothwell wrote:
Hi Guenter,

On Fri,  8 Aug 2014 22:22:12 -0700 Guenter Roeck [off-list ref] wrote:
quoted
Once again, we see

arch/powerpc/kernel/exceptions-64s.S: Assembler messages:
arch/powerpc/kernel/exceptions-64s.S:865: Error: attempt to move .org backwards
arch/powerpc/kernel/exceptions-64s.S:866: Error: attempt to move .org backwards
arch/powerpc/kernel/exceptions-64s.S:890: Error: attempt to move .org backwards

when compiling ppc:allmodconfig.

This time the problem has been caused by to commit 0869b6fd209bda
("powerpc/book3s: Add basic infrastructure to handle HMI in Linux"),
which adds functions hmi_exception_early and hmi_exception_after_realmode
into a critical (size-limited) code area, even though that does not appear
to be necessary.

Move those functions to a non-critical area of the file.

Cc: Mahesh Salgaonkar <redacted>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
Compile tested with all ppc configurations.
The reported checkpatch error appears to be a false positive.
Thanks.

I have added that to my fixes tree for today.
Thanks!

Guenter
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help