From: Uwe Kleine-König Date: Wed, 16 Jan 2013 14:32:06 +0000 (+0100) Subject: ARM: compile fix for DEBUG_LL=y && MMU=n X-Git-Tag: v3.8-rc5~5^2~7 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=a73b59c51ab288d81b515b504790267f594884b8;p=uclinux-h8%2Flinux.git ARM: compile fix for DEBUG_LL=y && MMU=n 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 Reviewed-by: Stephen Warren Acked-by: Rob Herring Signed-off-by: Olof Johansson --- diff --git a/arch/arm/kernel/debug.S b/arch/arm/kernel/debug.S index 6809200c31fb..14f7c3b14632 100644 --- a/arch/arm/kernel/debug.S +++ b/arch/arm/kernel/debug.S @@ -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