Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/sys/arch/hppa/hppa Pull up following revision(s) (request...



details:   https://anonhg.NetBSD.org/src/rev/68a6eb9dabaa
branches:  netbsd-8
changeset: 931278:68a6eb9dabaa
user:      martin <martin%NetBSD.org@localhost>
date:      Sat Apr 25 10:54:23 2020 +0000

description:
Pull up following revision(s) (requested by skrll in ticket #1542):

        sys/arch/hppa/hppa/trap.c: revision 1.115

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 012e259532f7 -r 68a6eb9dabaa sys/arch/hppa/hppa/trap.c
--- a/sys/arch/hppa/hppa/trap.c Fri Apr 24 16:18:06 2020 +0000
+++ b/sys/arch/hppa/hppa/trap.c Sat Apr 25 10:54:23 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.c,v 1.107 2015/03/02 11:05:12 martin Exp $        */
+/*     $NetBSD: trap.c,v 1.107.10.1 2020/04/25 10:54:23 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.107 2015/03/02 11:05:12 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.107.10.1 2020/04/25 10:54:23 martin Exp $");
 
 /* #define INTRDEBUG */
 /* #define TRAPDEBUG */
@@ -850,7 +850,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