Module Name: src Committed By: matt Date: Thu Apr 7 02:05:02 UTC 2011
Modified Files: src/sys/arch/powerpc/powerpc: trap_subr.S Log Message: Fix bogus idepth on OEA. To generate a diff of this commit: cvs rdiff -u -r1.67 -r1.68 src/sys/arch/powerpc/powerpc/trap_subr.S Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/powerpc/powerpc/trap_subr.S diff -u src/sys/arch/powerpc/powerpc/trap_subr.S:1.67 src/sys/arch/powerpc/powerpc/trap_subr.S:1.68 --- src/sys/arch/powerpc/powerpc/trap_subr.S:1.67 Tue Jan 18 01:02:55 2011 +++ src/sys/arch/powerpc/powerpc/trap_subr.S Thu Apr 7 02:05:02 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: trap_subr.S,v 1.67 2011/01/18 01:02:55 matt Exp $ */ +/* $NetBSD: trap_subr.S,v 1.68 2011/04/07 02:05:02 matt Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -1072,8 +1072,8 @@ ldreg %r11,(savearea+CPUSAVE_SRR0)(%r2); /* get saved SRR0 */ \ ldreg %r12,(savearea+CPUSAVE_SRR1)(%r2); /* get saved SRR1 */ \ ldint %r3,CI_IDEPTH(%r2); \ - addi %r3,%r3,1; \ - stint %r3,CI_IDEPTH(%r2); \ + addi %r4,%r3,1; \ + stint %r4,CI_IDEPTH(%r2); \ stint %r3,FRAME_IDEPTH(%r1); \ mfxer %r3; \ mfctr %r4; \