Module Name: src
Committed By: martin
Date: Sat Apr 25 10:52:56 UTC 2020
Modified Files:
src/sys/arch/hppa/hppa [netbsd-9]: trap.c
Log Message:
Pull up following revision(s) (requested by skrll in ticket #854):
sys/arch/hppa/hppa/trap.c: revision 1.115
Fix KASSERT that has been incorrect since revision 1.85 from 10 years
ago.
To generate a diff of this commit:
cvs rdiff -u -r1.111 -r1.111.4.1 src/sys/arch/hppa/hppa/trap.c
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/hppa/hppa/trap.c
diff -u src/sys/arch/hppa/hppa/trap.c:1.111 src/sys/arch/hppa/hppa/trap.c:1.111.4.1
--- src/sys/arch/hppa/hppa/trap.c:1.111 Mon Apr 15 20:45:08 2019
+++ src/sys/arch/hppa/hppa/trap.c Sat Apr 25 10:52:56 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.111 2019/04/15 20:45:08 skrll Exp $ */
+/* $NetBSD: trap.c,v 1.111.4.1 2020/04/25 10:52:56 martin Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@@ -58,7 +58,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.111 2019/04/15 20:45:08 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.111.4.1 2020/04/25 10:52:56 martin Exp $");
/* #define INTRDEBUG */
/* #define TRAPDEBUG */
@@ -853,7 +853,7 @@ do_onfault:
}
/* Never call uvm_fault in interrupt context. */
- KASSERT(curcpu()->ci_cpl == 0);
+ KASSERT(curcpu()->ci_intr_depth == 0);
onfault = pcb->pcb_onfault;
pcb->pcb_onfault = 0;