Re: [PATCH] Fixup armksyms to work with _printk

Deepak Saxena <[email protected]>
Newsgroups gmane.linux.kernel.tracing
Organization Plexity Networks
Message-ID <[email protected]>
Part 2....

diff --git a/arch/arm/lib/backtrace.S b/arch/arm/lib/backtrace.S
index 16153c8..dd2acfb 100644
--- a/arch/arm/lib/backtrace.S
+++ b/arch/arm/lib/backtrace.S
@@ -103,7 +103,7 @@ #else
 		.align	0
 1007:		ldr	r0, =.Lbad
 		mov	r1, frame
-		bl	printk
+		bl	_printk
 		LOADREGS(fd, sp!, {r4 - r8, pc})
 		.ltorg
 		.previous
@@ -138,12 +138,12 @@ #define stack r6
 		ldr	r2, [stack], #-4
 		mov	r1, reg
 		adr	r0, .Lfp
-		bl	printk
+		bl	_printk
 2:		subs	reg, reg, #1
 		bpl	1b
 		teq	r7, #0
 		adrne	r0, .Lcr
-		blne	printk
+		blne	_printk
 		mov	r0, stack
 		LOADREGS(fd, sp!, {instr, reg, stack, r7, r8, pc})
 


-- 
Deepak Saxena - [email protected] - http://www.plexity.net

"An open heart has no possessions, only experiences" - Matt Bibbeau
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.