Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hppa/hppa Fix KASSERT that has been incorrect since...
details: https://anonhg.NetBSD.org/src/rev/e2809809f2dc
branches: trunk
changeset: 971470:e2809809f2dc
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Apr 25 08:02:39 2020 +0000
description:
Fix KASSERT that has been incorrect since revision 1.85 from 10 years
ago.
diffstat:
sys/arch/hppa/hppa/trap.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r d7c7e559839f -r e2809809f2dc sys/arch/hppa/hppa/trap.c
--- a/sys/arch/hppa/hppa/trap.c Sat Apr 25 07:23:21 2020 +0000
+++ b/sys/arch/hppa/hppa/trap.c Sat Apr 25 08:02:39 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.114 2019/12/06 08:40:33 skrll Exp $ */
+/* $NetBSD: trap.c,v 1.115 2020/04/25 08:02:39 skrll 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.114 2019/12/06 08:40:33 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.115 2020/04/25 08:02:39 skrll Exp $");
/* #define INTRDEBUG */
/* #define TRAPDEBUG */
@@ -851,7 +851,7 @@
}
/* 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;
Home |
Main Index |
Thread Index |
Old Index