Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 2009 16:44:58 +0000 (UTC)
From:      Nathan Whitehorn <nwhitehorn@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r197962 - head/sys/powerpc/aim
Message-ID:  <200910111644.n9BGiwgj016518@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910111644.n9BGiwgj016518>