Replace cmxchg by cmpxchg.

Signed-off-by: Julia Lawall <[email protected]>

---
 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


Reply via email to