[PATCH] ppc32: typo fix in load/store string emulation
Kumar Gala
galak at freescale.com
Tue Mar 22 02:39:12 EST 2005
Andrew,
Patch fixes a typo in the emulation of load/store string emulations
pointed out by Segher Boessenkool.
Signed-off-by: Kumar Gala <kumar.gala at freescale.com>
---
diff -Nru a/arch/ppc/kernel/traps.c b/arch/ppc/kernel/traps.c
--- a/arch/ppc/kernel/traps.c 2005-03-21 09:36:28 -06:00
+++ b/arch/ppc/kernel/traps.c 2005-03-21 09:36:28 -06:00
@@ -412,7 +412,7 @@
return -EINVAL;
/* Early out if we are an invalid form of lswi */
- if ((instword & INST_STRING_MASK) == INST_LSWX)
+ if ((instword & INST_STRING_MASK) == INST_LSWI)
if ((rA >= rT) || (rT == rA))
return -EINVAL;
More information about the Linuxppc-embedded
mailing list