diff options
author | 2002-01-13 05:30:17 +0000 | |
---|---|---|
committer | 2002-01-13 05:30:17 +0000 | |
commit | 3a0350b11a01c40d9471ee85bf68c3b916aac379 (patch) | |
tree | 5124274086e2f3eb7c9e269ef7805e8d7ddba0fb | |
parent | Regress this one additional change, with this change more systems (diff) | |
download | wireguard-openbsd-3a0350b11a01c40d9471ee85bf68c3b916aac379.tar.xz wireguard-openbsd-3a0350b11a01c40d9471ee85bf68c3b916aac379.zip |
better accounting for 'soft' interrupts, before all exceptions were
counted as soft interrupts.
-rw-r--r-- | sys/arch/powerpc/powerpc/trap.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/powerpc/powerpc/trap.c b/sys/arch/powerpc/powerpc/trap.c index e9ea63f8bae..f0f04a542c3 100644 --- a/sys/arch/powerpc/powerpc/trap.c +++ b/sys/arch/powerpc/powerpc/trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trap.c,v 1.41 2001/11/29 04:47:41 drahn Exp $ */ +/* $OpenBSD: trap.c,v 1.42 2002/01/13 05:30:17 drahn Exp $ */ /* $NetBSD: trap.c,v 1.3 1996/10/13 03:31:37 christos Exp $ */ /* @@ -572,14 +572,13 @@ for (i = 0; i < errnum; i++) { #endif /* PPC_VECTOR_SUPPORTED */ case EXC_AST|EXC_USER: + uvmexp.softs++; /* This is just here that we trap */ break; } astpending = 0; /* we are about to do it */ - uvmexp.softs++; - if (p->p_flag & P_OWEUPC) { p->p_flag &= ~P_OWEUPC; ADDUPROF(p); |