drivers/hv/hyperv_vmbus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Replace cmxchg by cmpxchg.
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
---
drivers/hv/hyperv_vmbus.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h
index b2862e0a317a..cdbc5f5c3215 100644
--- a/drivers/hv/hyperv_vmbus.h
+++ b/drivers/hv/hyperv_vmbus.h
@@ -375,7 +375,7 @@ static inline void vmbus_signal_eom(struct hv_message *msg, u32 old_msg_type)
return;
/*
- * The cmxchg() above does an implicit memory barrier to
+ * The cmpxchg() above does an implicit memory barrier to
* ensure the write to MessageType (ie set to
* HVMSG_NONE) happens before we read the
* MessagePending and EOMing. Otherwise, the EOMing
> On 12/30/2025 6:14 AM Julia Lawall <julia.lawall@inria.fr> wrote: > > > Replace cmxchg by cmpxchg. > > Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> > Reviewed-by: Roman Kisel <vdso@mailbox.org> > --- > drivers/hv/hyperv_vmbus.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h > index b2862e0a317a..cdbc5f5c3215 100644 > --- a/drivers/hv/hyperv_vmbus.h > +++ b/drivers/hv/hyperv_vmbus.h > @@ -375,7 +375,7 @@ static inline void vmbus_signal_eom(struct hv_message *msg, u32 old_msg_type) > return; > > /* > - * The cmxchg() above does an implicit memory barrier to > + * The cmpxchg() above does an implicit memory barrier to > * ensure the write to MessageType (ie set to > * HVMSG_NONE) happens before we read the > * MessagePending and EOMing. Otherwise, the EOMing
On Tue, Dec 30, 2025 at 06:18:54AM -0800, vdso@mailbox.org wrote: > > > On 12/30/2025 6:14 AM Julia Lawall <julia.lawall@inria.fr> wrote: > > > > > > Replace cmxchg by cmpxchg. > > > > Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> > > > > Reviewed-by: Roman Kisel <vdso@mailbox.org> > Applied. Thank you.
© 2016 - 2026 Red Hat, Inc.