Skip to content

Commit

Permalink
drm/i915: Add ULL postfix to VGT_MAGIC constant
Browse files Browse the repository at this point in the history
Without this Dave's 32bit rhel compiler is annoyed. Don't ask me about
the exact rules for this stuff though, but this should be safe.

Reported-by: Dave Airlie <airlied@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
  • Loading branch information
Daniel Vetter committed Mar 17, 2015
1 parent 8c4f83f commit 41659ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/i915_vgpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
* The following structure pages are defined in GEN MMIO space
* for virtualization. (One page for now)
*/
#define VGT_MAGIC 0x4776544776544776 /* 'vGTvGTvG' */
#define VGT_MAGIC 0x4776544776544776ULL /* 'vGTvGTvG' */
#define VGT_VERSION_MAJOR 1
#define VGT_VERSION_MINOR 0

Expand Down

0 comments on commit 41659ab

Please sign in to comment.