[PATCH 2.6.10-rc1] [m32r] Fix a typo of delay.c
From: Hirokazu Takata
Date: Fri Oct 29 2004 - 01:17:25 EST
Hello,
This patch fixes a typo of arch/m32r/lib/delay.c.
It is required to fix a compile error for non-CONFIG_ISA_DUAL_ISSUE
configuration.
Thanks.
NOTE:
The m32r has a kind of ISA (instruction set architecture)
like a 2-way VLIW. Originally the m32r has two types of 16-bit/32-bit
instructions. Only 16-bit instruction pair can be executed in parallel
on a m32r chip with dual issuing support (e.g. M32700).
According to the insturction dual issuing of the m32r,
a programmer/compiler can explicitly put two 16-bit instructions
into an instruction word, which are to be executed in parallel.
ex. Assembly coding style of two 16-bit instruncions; insn A and B:
1) insn A
insn B ; sequential execution (implicit)
2) insn A -> insn B ; sequential execution (explicit)
3) insn A || insn B ; parallel execution
Signed-off-by: Hirokazu Takata <takata@xxxxxxxxxxxxxx>
---
arch/m32r/lib/delay.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -ruNp a/arch/m32r/lib/delay.c b/arch/m32r/lib/delay.c
--- a/arch/m32r/lib/delay.c 2004-10-19 06:55:35.000000000 +0900
+++ b/arch/m32r/lib/delay.c 2004-10-29 13:05:36.000000000 +0900
@@ -51,7 +51,7 @@ void __delay(unsigned long loops)
"addi %0, #-1 \n\t"
"bgtz %0, 1b \n\t"
" .fillinsn \n\t"
- "2:i \n\t"
+ "2: \n\t"
: "+r" (loops)
: "r" (0)
);
--
Hirokazu Takata <takata@xxxxxxxxxxxxxx>
Linux/M32R Project: http://www.linux-m32r.org/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/