]> Git Repo - linux.git/commitdiff
ARM: compile fix for DEBUG_LL=y && MMU=n
authorUwe Kleine-König <[email protected]>
Wed, 16 Jan 2013 14:32:06 +0000 (15:32 +0100)
committerOlof Johansson <[email protected]>
Wed, 16 Jan 2013 22:30:06 +0000 (14:30 -0800)
debug_ll_addr is only used on machines with an MMU so it can be #ifdef'ed
out safely. This fixes:

arch/arm/kernel/debug.S: Assembler messages:
arch/arm/kernel/debug.S:104: Error: too many positional arguments

The problem was introduced in e5c5f2a ARM: implement debug_ll_io_init().

Signed-off-by: Uwe Kleine-König <[email protected]>
Reviewed-by: Stephen Warren <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
arch/arm/kernel/debug.S

index 6809200c31fb73349df3af95cd737c0e70293ada..14f7c3b14632e22c02632faeaca9f07adcbc232f 100644 (file)
@@ -100,12 +100,14 @@ ENTRY(printch)
                b       1b
 ENDPROC(printch)
 
+#ifdef CONFIG_MMU
 ENTRY(debug_ll_addr)
                addruart r2, r3, ip
                str     r2, [r0]
                str     r3, [r1]
                mov     pc, lr
 ENDPROC(debug_ll_addr)
+#endif
 
 #else
 
This page took 0.058414 seconds and 4 git commands to generate.