Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/7f30f24f6f0d
branches:  netbsd-9
changeset: 1002322:7f30f24f6f0d
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Jul 06 04:05:14 2021 +0000

description:
Pull up following revision(s) (requested by macallan in ticket #1312):

        sys/arch/hppa/hppa/intr.c: revision 1.4

fix off by one which resulted in all idle time reported as interrupt time
final fix from nick@

diffstat:

 sys/arch/hppa/hppa/intr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3058d6f35a98 -r 7f30f24f6f0d sys/arch/hppa/hppa/intr.c
--- a/sys/arch/hppa/hppa/intr.c Tue Jul 06 03:46:24 2021 +0000
+++ b/sys/arch/hppa/hppa/intr.c Tue Jul 06 04:05:14 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: intr.c,v 1.3 2019/05/04 13:04:36 skrll Exp $   */
+/*     $NetBSD: intr.c,v 1.3.2.1 2021/07/06 04:05:14 martin Exp $      */
 /*     $OpenBSD: intr.c,v 1.27 2009/12/31 12:52:35 jsing Exp $ */
 
 /*
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.3 2019/05/04 13:04:36 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intr.c,v 1.3.2.1 2021/07/06 04:05:14 martin Exp $");
 
 #define __MUTEX_PRIVATE
 
@@ -435,7 +435,7 @@
                ib->ib_evcnt.ev_count++;
                arg = ib->ib_arg;
                if (arg == NULL) {
-                       clkframe.cf_flags = (ci->ci_intr_depth ?
+                       clkframe.cf_flags = (ci->ci_intr_depth > 1 ?
                            TFF_INTR : 0);
                        clkframe.cf_spl = ncpl;
                        if (frame != NULL) {



Home | Main Index | Thread Index | Old Index