summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2003-04-29 22:13:36 +0000
committerEric Anholt <anholt@freebsd.org>2003-04-29 22:13:36 +0000
commitc99ae2788f39d234c4fbf826f411094e885adf49 (patch)
tree980bdbc9a38d1867de333736807cc20b395fa910
parent33bd6d1259af8a9f24ec15b5604c7ac9344d8bfd (diff)
Fix compiling with debug on.
-rw-r--r--bsd-core/drm_bufs.c2
-rw-r--r--bsd/drm_bufs.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/bsd-core/drm_bufs.c b/bsd-core/drm_bufs.c
index 87ec6f093..63d2e36f3 100644
--- a/bsd-core/drm_bufs.c
+++ b/bsd-core/drm_bufs.c
@@ -546,7 +546,7 @@ static int DRM(addbufs_pci)(drm_device_t *dev, drm_buf_desc_t *request)
for ( i = 0 ; i < (1 << page_order) ; i++ ) {
DRM_DEBUG( "page %d @ 0x%08lx\n",
dma->page_count + page_count,
- page + PAGE_SIZE * i );
+ vaddr + PAGE_SIZE * i );
temp_pagelist[dma->page_count + page_count++] =
vaddr + PAGE_SIZE * i;
}
diff --git a/bsd/drm_bufs.h b/bsd/drm_bufs.h
index 87ec6f093..63d2e36f3 100644
--- a/bsd/drm_bufs.h
+++ b/bsd/drm_bufs.h
@@ -546,7 +546,7 @@ static int DRM(addbufs_pci)(drm_device_t *dev, drm_buf_desc_t *request)
for ( i = 0 ; i < (1 << page_order) ; i++ ) {
DRM_DEBUG( "page %d @ 0x%08lx\n",
dma->page_count + page_count,
- page + PAGE_SIZE * i );
+ vaddr + PAGE_SIZE * i );
temp_pagelist[dma->page_count + page_count++] =
vaddr + PAGE_SIZE * i;
}