summaryrefslogtreecommitdiffstats
path: root/sys/dev/drm/drm_agpsupport.c
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2010-11-16 03:43:06 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2010-11-16 03:43:06 +0000
commit19dbb181633741563c511cf84ab2439b4e381d47 (patch)
tree55f33916036a81dbd026f042a06b2bcf92e2637e /sys/dev/drm/drm_agpsupport.c
parente41a851f0380ee8355aa918a5f2ae5bcdd46d6a9 (diff)
downloadFreeBSD-src-19dbb181633741563c511cf84ab2439b4e381d47.zip
FreeBSD-src-19dbb181633741563c511cf84ab2439b4e381d47.tar.gz
Make drm(4) build, if not work reliably, on PowerPC.
Diffstat (limited to 'sys/dev/drm/drm_agpsupport.c')
-rw-r--r--sys/dev/drm/drm_agpsupport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm/drm_agpsupport.c b/sys/dev/drm/drm_agpsupport.c
index 7019fe7..cb98ec1 100644
--- a/sys/dev/drm/drm_agpsupport.c
+++ b/sys/dev/drm/drm_agpsupport.c
@@ -318,7 +318,7 @@ int drm_agp_bind(struct drm_device *dev, struct drm_agp_binding *request)
if (!dev->agp || !dev->agp->acquired)
return EINVAL;
- DRM_DEBUG("agp_bind, page_size=%x\n", PAGE_SIZE);
+ DRM_DEBUG("agp_bind, page_size=%x\n", (int)PAGE_SIZE);
entry = drm_agp_lookup_entry(dev, (void *)request->handle);
if (entry == NULL || entry->bound)
OpenPOWER on IntegriCloud