[PATCH] ppc32: typo fix in load/store string emulation

From: Kumar Gala
Date: Mon Mar 21 2005 - 10:41:44 EST


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@xxxxxxxxxxxxx>

---
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;

-
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/