Thread (4 messages) 4 messages, 3 authors, 2005-03-21

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

flat view
DORMANTno replies

From: Kumar Gala <hidden>
Date: 2005-03-21 15:39:56
Also in: lkml

Andrew,

Patch fixes a typo in the emulation of load/store string emulations 
pointed out by Segher Boessenkool.


Signed-off-by: Kumar Gala <redacted>

---
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;
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help