aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authorNathan Whitehorn <nwhitehorn@FreeBSD.org>2009-10-11 16:44:58 +0000
committerNathan Whitehorn <nwhitehorn@FreeBSD.org>2009-10-11 16:44:58 +0000
commita8211b27b9e66fce2ecaa46b9c3e4c9e5f1b6af1 (patch)
treedbcb324b22234a58724e70b2f2f68fae82b9a19b /sys/powerpc/aim
parentb70b3ebfdd82f5091477d2ad3e9656466ffa8900 (diff)
downloadsrc-a8211b27b9e66fce2ecaa46b9c3e4c9e5f1b6af1.tar.gz
src-a8211b27b9e66fce2ecaa46b9c3e4c9e5f1b6af1.zip
Correct another typo. Actually save the condition register instead
of overwriting r12 by mistake.
Notes
Notes: svn path=/head/; revision=197962
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r--sys/powerpc/aim/swtch.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/aim/swtch.S b/sys/powerpc/aim/swtch.S
index 619bf8907624..71d39d0b77fd 100644
--- a/sys/powerpc/aim/swtch.S
+++ b/sys/powerpc/aim/swtch.S
@@ -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
/*