diff options
author | Bjoern A. Zeeb <bz@FreeBSD.org> | 2016-03-14 16:19:50 +0000 |
---|---|---|
committer | Bjoern A. Zeeb <bz@FreeBSD.org> | 2016-03-14 16:19:50 +0000 |
commit | a3f2eca5d7bcfe8913fd3d06beb62dc00b44000f (patch) | |
tree | d425c7efaadf4743ceba15857c72ba2ce45533e0 /sys/dev/drm2 | |
parent | 61fc4ac3aa03d3b95bf3868f4b377214f6ca561b (diff) | |
download | src-a3f2eca5d7bcfe8913fd3d06beb62dc00b44000f.tar.gz src-a3f2eca5d7bcfe8913fd3d06beb62dc00b44000f.zip |
Fix the printf for PAE kernels where it'd be long long to unbreak
the build.
Notes
Notes:
svn path=/head/; revision=296862
Diffstat (limited to 'sys/dev/drm2')
-rw-r--r-- | sys/dev/drm2/i915/i915_gem_gtt.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/drm2/i915/i915_gem_gtt.c b/sys/dev/drm2/i915/i915_gem_gtt.c index 4b8163d3a916..f0e7f7a977a9 100644 --- a/sys/dev/drm2/i915/i915_gem_gtt.c +++ b/sys/dev/drm2/i915/i915_gem_gtt.c @@ -565,9 +565,10 @@ void i915_gem_init_global_gtt(struct drm_device *dev, i915_ggtt_clear_range(dev, start / PAGE_SIZE, (end-start) / PAGE_SIZE); device_printf(dev->dev, - "taking over the fictitious range 0x%lx-0x%lx\n", - dev_priv->mm.gtt_base_addr + start, - dev_priv->mm.gtt_base_addr + start + dev_priv->mm.mappable_gtt_total); + "taking over the fictitious range 0x%jx-0x%jx\n", + (uintmax_t)(dev_priv->mm.gtt_base_addr + start), + (uintmax_t)(dev_priv->mm.gtt_base_addr + start + + dev_priv->mm.mappable_gtt_total)); vm_phys_fictitious_reg_range(dev_priv->mm.gtt_base_addr + start, dev_priv->mm.gtt_base_addr + start + dev_priv->mm.mappable_gtt_total, VM_MEMATTR_WRITE_COMBINING); |