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 <u.kleine-koenig@pengutronix.de>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
parent
ad6f276173
commit
a73b59c51a
@ -100,12 +100,14 @@ ENTRY(printch)
|
|||||||
b 1b
|
b 1b
|
||||||
ENDPROC(printch)
|
ENDPROC(printch)
|
||||||
|
|
||||||
|
#ifdef CONFIG_MMU
|
||||||
ENTRY(debug_ll_addr)
|
ENTRY(debug_ll_addr)
|
||||||
addruart r2, r3, ip
|
addruart r2, r3, ip
|
||||||
str r2, [r0]
|
str r2, [r0]
|
||||||
str r3, [r1]
|
str r3, [r1]
|
||||||
mov pc, lr
|
mov pc, lr
|
||||||
ENDPROC(debug_ll_addr)
|
ENDPROC(debug_ll_addr)
|
||||||
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user