if (Channel->OfferMsg.MonitorAllocated) {
                /* Each u32 represents 32 channels */
-               set_bit(Channel->OfferMsg.ChildRelId & 31,
+               sync_set_bit(Channel->OfferMsg.ChildRelId & 31,
                        (unsigned long *) gVmbusConnection.SendInterruptPage +
                        (Channel->OfferMsg.ChildRelId >> 5));
 
                monitorPage = gVmbusConnection.MonitorPages;
                monitorPage++; /* Get the child to parent monitor page */
 
-               set_bit(Channel->MonitorBit,
+               sync_set_bit(Channel->MonitorBit,
                        (unsigned long *)&monitorPage->TriggerGroup
                                        [Channel->MonitorGroup].Pending);
 
 
        if (Channel->OfferMsg.MonitorAllocated) {
                /* Each u32 represents 32 channels */
-               clear_bit(Channel->OfferMsg.ChildRelId & 31,
+               sync_clear_bit(Channel->OfferMsg.ChildRelId & 31,
                          (unsigned long *)gVmbusConnection.SendInterruptPage +
                          (Channel->OfferMsg.ChildRelId >> 5));
 
                        (struct hv_monitor_page *)gVmbusConnection.MonitorPages;
                monitorPage++; /* Get the child to parent monitor page */
 
-               clear_bit(Channel->MonitorBit,
+               sync_clear_bit(Channel->MonitorBit,
                          (unsigned long *)&monitorPage->TriggerGroup
                                        [Channel->MonitorGroup].Pending);
        }
 
                for (dword = 0; dword < maxdword; dword++) {
                        if (recvInterruptPage[dword]) {
                                for (bit = 0; bit < 32; bit++) {
-                                       if (test_and_clear_bit(bit, (unsigned long *)&recvInterruptPage[dword])) {
+                                       if (sync_test_and_clear_bit(bit,
+                                               (unsigned long *)
+                                               &recvInterruptPage[dword])) {
                                                relid = (dword << 5) + bit;
                                                DPRINT_DBG(VMBUS, "event detected for relid - %d", relid);
 
        DPRINT_ENTER(VMBUS);
 
        /* Each u32 represents 32 channels */
-       set_bit(childRelId & 31,
+       sync_set_bit(childRelId & 31,
                (unsigned long *)gVmbusConnection.SendInterruptPage +
                (childRelId >> 5));
 
 
        event = (union hv_synic_event_flags *)page_addr + VMBUS_MESSAGE_SINT;
 
        /* Since we are a child, we only need to check bit 0 */
-       if (test_and_clear_bit(0, (unsigned long *) &event->Flags32[0])) {
+       if (sync_test_and_clear_bit(0, (unsigned long *) &event->Flags32[0])) {
                DPRINT_DBG(VMBUS, "received event %d", event->Flags32[0]);
                ret |= 0x2;
        }