From a5cd9cc6c60674cf738fdd3bf2b9339ef05b2d1f Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 11 Nov 2008 19:36:52 +0000 Subject: [PATCH] Fix showprogress macro (still ARM assembly) git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1196 42af7a65-404d-4744-a932-0658087f49c3 --- arch/sh/src/sh1/sh1_head.S | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/sh/src/sh1/sh1_head.S b/arch/sh/src/sh1/sh1_head.S index bff3138557b..155723f5463 100644 --- a/arch/sh/src/sh1/sh1_head.S +++ b/arch/sh/src/sh1/sh1_head.S @@ -161,11 +161,9 @@ .macro showprogress, code #ifdef CONFIG_DEBUG - mov r0, #\code - bl up_lowputc mov.l .Llowputc, r0 /* Address of up_earlyserialinit */ jsr @r0 /* Call it */ - or r0, r0 /* Delay slot */ + mov #\code, r4 /* Delay slot */ #endif .endm