aboutsummaryrefslogtreecommitdiff
path: root/hw/hyperv/vmbus.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/hyperv/vmbus.c')
-rw-r--r--hw/hyperv/vmbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/hyperv/vmbus.c b/hw/hyperv/vmbus.c
index 6ef895bc35..896e981f85 100644
--- a/hw/hyperv/vmbus.c
+++ b/hw/hyperv/vmbus.c
@@ -747,7 +747,7 @@ static int vmbus_channel_notify_guest(VMBusChannel *chan)
idx = BIT_WORD(chan->id);
mask = BIT_MASK(chan->id);
- if ((atomic_fetch_or(&int_map[idx], mask) & mask) != mask) {
+ if ((qatomic_fetch_or(&int_map[idx], mask) & mask) != mask) {
res = hyperv_sint_route_set_sint(chan->notify_route);
dirty = len;
}