diff options
author | Patrick Wildt <patrick@cvs.openbsd.org> | 2021-10-24 14:54:53 +0000 |
---|---|---|
committer | Patrick Wildt <patrick@cvs.openbsd.org> | 2021-10-24 14:54:53 +0000 |
commit | bfb08069538b0c18730e583fbcbcea4be1d05207 (patch) | |
tree | e72b0b4f1dd13f361d1bcc128f270d0f5e571c18 /sys | |
parent | d8cae6db62622ae63fa1306e093cc0334455b661 (diff) |
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@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/arm64/dev/ampintc.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <drahn@openbsd.org> * @@ -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 |