summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c b/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
index 8a1e412..4895f71 100644
--- a/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
+++ b/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
@@ -117,7 +117,7 @@ handled:
* not deliver any more messages
* since there is no empty slot
*/
- wmb();
+ atomic_thread_fence_seq_cst();
if (msg->header.message_flags.u.message_pending) {
/*
@@ -187,7 +187,7 @@ hv_vmbus_isr(struct trapframe *frame)
* not deliver any more messages
* since there is no empty slot
*/
- wmb();
+ atomic_thread_fence_seq_cst();
if (msg->header.message_flags.u.message_pending) {
/*
OpenPOWER on IntegriCloud