diff options
author | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2009-10-11 16:44:58 +0000 |
---|---|---|
committer | Nathan Whitehorn <nwhitehorn@FreeBSD.org> | 2009-10-11 16:44:58 +0000 |
commit | a8211b27b9e66fce2ecaa46b9c3e4c9e5f1b6af1 (patch) | |
tree | dbcb324b22234a58724e70b2f2f68fae82b9a19b /sys/powerpc/aim | |
parent | b70b3ebfdd82f5091477d2ad3e9656466ffa8900 (diff) | |
download | src-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.S | 2 |
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 /* |