Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/powerpc Fix bogus idepth on OEA.



details:   https://anonhg.NetBSD.org/src/rev/3b4503eaeb29
branches:  trunk
changeset: 763919:3b4503eaeb29
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Apr 07 02:05:02 2011 +0000

description:
Fix bogus idepth on OEA.

diffstat:

 sys/arch/powerpc/powerpc/trap_subr.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 1ab1f8e4918d -r 3b4503eaeb29 sys/arch/powerpc/powerpc/trap_subr.S
--- a/sys/arch/powerpc/powerpc/trap_subr.S      Thu Apr 07 02:04:06 2011 +0000
+++ b/sys/arch/powerpc/powerpc/trap_subr.S      Thu Apr 07 02:05:02 2011 +0000
@@ -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;                                                    \



Home | Main Index | Thread Index | Old Index