Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/aarch64/aarch64 fix new cpu_intr_p



details:   https://anonhg.NetBSD.org/src/rev/f886ee21c7ea
branches:  trunk
changeset: 1006231:f886ee21c7ea
user:      skrll <skrll%NetBSD.org@localhost>
date:      Mon Jan 06 08:36:08 2020 +0000

description:
fix new cpu_intr_p

diffstat:

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

diffs (27 lines):

diff -r 5198b1a3b725 -r f886ee21c7ea sys/arch/aarch64/aarch64/trap.c
--- a/sys/arch/aarch64/aarch64/trap.c   Mon Jan 06 08:29:08 2020 +0000
+++ b/sys/arch/aarch64/aarch64/trap.c   Mon Jan 06 08:36:08 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.23 2020/01/05 20:17:43 ad Exp $ */
+/* $NetBSD: trap.c,v 1.24 2020/01/06 08:36:08 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: trap.c,v 1.23 2020/01/05 20:17:43 ad Exp $");
+__KERNEL_RCSID(1, "$NetBSD: trap.c,v 1.24 2020/01/06 08:36:08 skrll Exp $");
 
 #include "opt_arm_intr_impl.h"
 #include "opt_compat_netbsd32.h"
@@ -641,7 +641,7 @@
        do {
                ncsw = l->l_ncsw;
                __insn_barrier();
-               idepth = l->l_cpu->ci_idepth;
+               idepth = l->l_cpu->ci_intr_depth;
                __insn_barrier();
        } while (__predict_false(ncsw != l->l_ncsw));
 



Home | Main Index | Thread Index | Old Index