{
        if (uuid_le_cmp(expectedTypeGuid, NULL_UUID_LE) != 0)
                /* caller wants us to verify type GUID */
-               if (MEMCMP_IO(&(((CHANNEL_HEADER __iomem *) (pChannel))->Type),
-                          &expectedTypeGuid, sizeof(uuid_le)) != 0) {
+               if (uuid_le_cmp((((CHANNEL_HEADER __iomem *)(pChannel))->Type),
+                          expectedTypeGuid) != 0) {
                        CHANNEL_GUID_MISMATCH(expectedTypeGuid, channelName,
                                              "type", expectedTypeGuid,
                                              ((CHANNEL_HEADER __iomem *)
 
 
 typedef u64 GUEST_PHYSICAL_ADDRESS;
 
-#define MEMCMP_IO(m1, m2, len) memcmp((void __force *)m1, m2, len)
-
 #define INLINE inline
 #define OFFSETOF offsetof