Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2016 16:19:50 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r296862 - head/sys/dev/drm2/i915
Message-ID:  <201603141619.u2EGJo0K041306@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Mon Mar 14 16:19:50 2016
New Revision: 296862
URL: https://svnweb.freebsd.org/changeset/base/296862

Log:
  Fix the printf for PAE kernels where it'd be long long to unbreak
  the build.

Modified:
  head/sys/dev/drm2/i915/i915_gem_gtt.c

Modified: head/sys/dev/drm2/i915/i915_gem_gtt.c
==============================================================================
--- head/sys/dev/drm2/i915/i915_gem_gtt.c	Mon Mar 14 14:55:15 2016	(r296861)
+++ head/sys/dev/drm2/i915/i915_gem_gtt.c	Mon Mar 14 16:19:50 2016	(r296862)
@@ -565,9 +565,10 @@ void i915_gem_init_global_gtt(struct drm
 	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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603141619.u2EGJo0K041306>