Russell,

The latest mainline ARM build breaks with KPROBES enabled. Anand
Gadiyar did git bisect and figured out that below commit breaks the build.
        commit :4260415f6a3b92c5c986398d96c314df37a4ccbf

I tried matching the sections but failed to fix the build error. Below
is the hack patch to keep build working.

Regards,
Santosh

*******************************************************

ARM: Build break with KPROBES enabled

With CONFIG_KPROBES enabled two section are getting created which
leads to below buid break.

LOG:
 AS      arch/arm/kernel/entry-armv.o
arch/arm/kernel/entry-armv.S: Assembler messages:
arch/arm/kernel/entry-armv.S:431: Error: symbol ret_from_exception is in a 
different section
arch/arm/kernel/entry-armv.S:490: Error: symbol ret_from_exception is in a 
different section
arch/arm/kernel/entry-armv.S:491: Error: symbol __und_usr_unknown is in a 
different section


Signed-off-by: Santosh Shilimkar <[email protected]>
Reported-by: Anand Gadiyar <[email protected]>
---
 arch/arm/kernel/entry-armv.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S
index e6a0fb0..db4ec05 100644
--- a/arch/arm/kernel/entry-armv.S
+++ b/arch/arm/kernel/entry-armv.S
@@ -679,7 +679,7 @@ do_fpe:
        .data
 ENTRY(fp_enter)
        .word   no_fp
-       .text
+       .previous
 
 ENTRY(no_fp)
        mov     pc, lr
-- 
1.6.0.4




--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to