ARM: Fix build break with KPROBES enabled
PATCH 1/1 ARM: Fix build break with KPROBES enabled
With CONFIG_KPROBES enabled two section are getting created which leads to below build break.
LOG:
AS arch/arm/kernel/entry-armv.oarch/arm/kernel/entry-armv.S: Assembler messages:arch/arm/kernel/entry-armv.S:431: Error: symbol ret_from_exception is in a = different sectionarch/arm/kernel/entry-armv.S:490: Error: symbol ret_from_exception is in a = different sectionarch/arm/kernel/entry-armv.S:491: Error: symbol __und_usr_unknown is in a d= ifferent section
This was introduced by commit 4260415f6a3b92c5c986398d96c314df37a4ccbf
Signed-off-by Santosh Shilimkar <[email protected]>
Reported-by Anand Gadiyar <[email protected]>
--- arch/arm/kernel/entry-armv.S | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
arch/arm/kernel/entry-armv.S +0 -0
@@ -676,10 +676,10 @@ do_fpe: * lr =3D unrecognised FP instruction return address */
=20
- .data
+ .pushsection .data
ENTRY(fp_enter)
.word no_fp
- .text
+ .popsection
=20
ENTRY(no_fp)
mov pc, lr
--=20
1.6.0.4