From: patrick Date: Sun, 24 Oct 2021 14:54:52 +0000 (+0000) Subject: Now that ampintcmsi(4)'s establish function returns a pointer to the X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=beae6a4f71937167750ea54ffe240ab0a77ccc5e;p=openbsd Now that ampintcmsi(4)'s establish function returns a pointer to the more generic machine intr handle, we need to call intr_barrier() for it instead. Panic found by bluhm@ ok kettenis@ --- diff --git a/sys/arch/arm64/dev/ampintc.c b/sys/arch/arm64/dev/ampintc.c index 15f6ee276c2..64bf84fe6d9 100644 --- a/sys/arch/arm64/dev/ampintc.c +++ b/sys/arch/arm64/dev/ampintc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ampintc.c,v 1.24 2021/10/21 18:30:57 patrick Exp $ */ +/* $OpenBSD: ampintc.c,v 1.25 2021/10/24 14:54:52 patrick Exp $ */ /* * Copyright (c) 2007,2009,2011 Dale Rahn * @@ -980,7 +980,7 @@ ampintc_intr_disestablish_msi(void *cookie) void ampintc_intr_barrier_msi(void *cookie) { - ampintc_intr_barrier(*(void **)cookie); + intr_barrier(*(void **)cookie); } #ifdef MULTIPROCESSOR