Fix bogus idepth on OEA.
This commit is contained in:
parent
1a61b7e897
commit
558221d2a2
@ -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 @@ _C_LABEL(sctrapexit):
|
||||
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; \
|
||||
|
Loading…
Reference in New Issue
Block a user