From 68c3c08fe883722bfc596d994375c0462cd2330f Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Sun, 11 Oct 2009 16:44:58 +0000 Subject: Correct another typo. Actually save the condition register instead of overwriting r12 by mistake. --- sys/powerpc/aim/swtch.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/powerpc') diff --git a/sys/powerpc/aim/swtch.S b/sys/powerpc/aim/swtch.S index 619bf89..71d39d0 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 /* -- cgit v1.1