X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=include%2Fdrm%2Fi915_drm.h;h=4e1b274e116431fa8431e540ec272bfe9c71aabe;hb=63e95b5c4f16e156b98adcf2f7d820ba941c82a3;hp=b1755f8db36b602e0883e4d5622db703edd76f2b;hpb=15543692a010192b4264ade0d45390e8bb3dc639;p=karo-tx-linux.git diff --git a/include/drm/i915_drm.h b/include/drm/i915_drm.h index b1755f8db36b..4e1b274e1164 100644 --- a/include/drm/i915_drm.h +++ b/include/drm/i915_drm.h @@ -93,6 +93,6 @@ extern bool i915_gpu_turbo_disable(void); #define I845_TSEG_SIZE_1M (3 << 1) #define INTEL_BSM 0x5c -#define INTEL_BSM_MASK (0xFFFF << 20) +#define INTEL_BSM_MASK (-(1u << 20)) #endif /* _I915_DRM_H_ */