Blame SOURCES/vmw-bitmask-gcc6.patch

2c29b9
--- lib/include/x86cpuid.h.old	2016-05-24 23:23:20.747118224 -0700
2c29b9
+++ lib/include/x86cpuid.h	2016-05-24 23:28:35.829547406 -0700
2c29b9
@@ -905,11 +905,9 @@
2c29b9
  *
2c29b9
  * e.g. - CPUID_VIRT_BITS_MASK  = 0xff00
2c29b9
  *      - CPUID_VIRT_BITS_SHIFT = 8
2c29b9
- *
2c29b9
- * Note: The MASK definitions must use some gymnastics to get
2c29b9
- * around a warning when shifting left by 32.
2c29b9
  */
2c29b9
-#define VMW_BIT_MASK(shift)  (((1 << (shift - 1)) << 1) - 1)
2c29b9
+#define VMW_BIT_MASK(shift)  (0xffffffffu >> (32 - shift))
2c29b9
+
2c29b9
 
2c29b9
 #define FIELD(lvl, ecxIn, reg, bitpos, size, name, s, c3)      \
2c29b9
    CPUID_##name##_SHIFT        = bitpos,                       \