Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/arm Give __HAVE_PIC_FAST_SOFTINTS a chance of c...



details:   https://anonhg.NetBSD.org/src/rev/42dbc7f441d6
branches:  trunk
changeset: 968221:42dbc7f441d6
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Jan 07 09:55:30 2020 +0000

description:
Give __HAVE_PIC_FAST_SOFTINTS a chance of compiling

diffstat:

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

diffs (27 lines):

diff -r 37b1e5e11b0f -r 42dbc7f441d6 sys/arch/arm/arm/arm_machdep.c
--- a/sys/arch/arm/arm/arm_machdep.c    Tue Jan 07 08:52:47 2020 +0000
+++ b/sys/arch/arm/arm/arm_machdep.c    Tue Jan 07 09:55:30 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: arm_machdep.c,v 1.58 2019/12/03 15:20:59 riastradh Exp $       */
+/*     $NetBSD: arm_machdep.c,v 1.59 2020/01/07 09:55:30 skrll Exp $   */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -80,7 +80,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: arm_machdep.c,v 1.58 2019/12/03 15:20:59 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm_machdep.c,v 1.59 2020/01/07 09:55:30 skrll Exp $");
 
 #include <sys/exec.h>
 #include <sys/proc.h>
@@ -273,7 +273,7 @@
                __insn_barrier();
                idepth = l->l_cpu->ci_intr_depth;
 #ifdef __HAVE_PIC_FAST_SOFTINTS
-               cpl = ci->ci_cpl;
+               cpl = l->l_cpu->ci_cpl;
 #endif
                __insn_barrier();
        } while (__predict_false(ncsw != l->l_ncsw));



Home | Main Index | Thread Index | Old Index