svn commit: r197962 - head/sys/powerpc/aim
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sun Oct 11 16:44:59 UTC 2009
Author: nwhitehorn
Date: Sun Oct 11 16:44:58 2009
New Revision: 197962
URL: http://svn.freebsd.org/changeset/base/197962
Log:
Correct another typo. Actually save the condition register instead
of overwriting r12 by mistake.
Modified:
head/sys/powerpc/aim/swtch.S
Modified: head/sys/powerpc/aim/swtch.S
==============================================================================
--- head/sys/powerpc/aim/swtch.S Sun Oct 11 16:41:39 2009 (r197961)
+++ head/sys/powerpc/aim/swtch.S Sun Oct 11 16:44:58 2009 (r197962)
@@ -171,7 +171,7 @@ ENTRY(savectx)
mr %r12,%r2
stmw %r12,PCB_CONTEXT(%r3) /* Save the non-volatile GP regs */
mfcr %r4 /* Save the condition register */
- stw %r4,PCB_CONTEXT(%r3)
+ stw %r4,PCB_CR(%r3)
blr
/*
More information about the svn-src-all
mailing list