Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/apple appleintc: update ci_cpl in pic_set_prior...



details:   https://anonhg.NetBSD.org/src/rev/1331529153e5
branches:  trunk
changeset: 368207:1331529153e5
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Jun 28 10:42:22 2022 +0000

description:
appleintc: update ci_cpl in pic_set_priority callback

diffstat:

 sys/arch/arm/apple/apple_intc.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 94b9c71bb39e -r 1331529153e5 sys/arch/arm/apple/apple_intc.c
--- a/sys/arch/arm/apple/apple_intc.c   Tue Jun 28 08:03:49 2022 +0000
+++ b/sys/arch/arm/apple/apple_intc.c   Tue Jun 28 10:42:22 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: apple_intc.c,v 1.8 2022/05/02 04:39:29 ryo Exp $ */
+/* $NetBSD: apple_intc.c,v 1.9 2022/06/28 10:42:22 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2021 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -32,7 +32,7 @@
 #define        _INTR_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: apple_intc.c,v 1.8 2022/05/02 04:39:29 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: apple_intc.c,v 1.9 2022/06/28 10:42:22 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -150,6 +150,7 @@
 static void
 apple_intc_set_priority(struct pic_softc *pic, int ipl)
 {
+       curcpu()->ci_cpl = ipl;
 }
 
 static void



Home | Main Index | Thread Index | Old Index