1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-05 12:56:08 +00:00

Correct another typo. Actually save the condition register instead

of overwriting r12 by mistake.
This commit is contained in:
Nathan Whitehorn 2009-10-11 16:44:58 +00:00
parent b70b3ebfdd
commit a8211b27b9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=197962

View File

@ -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
/*