diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2002-01-13 05:30:18 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2002-01-13 05:30:18 +0000 |
commit | c59b9f3fa18c0a7d8a8881b64721a2d3fe430f7d (patch) | |
tree | 780aeb307ea5cc261c6b59911b4eee466a74dfbe | |
parent | 2b5899c9f64427d3367053071bffc71de83c439b (diff) |
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); |