summaryrefslogtreecommitdiff
path: root/linux/radeon_cp.c
diff options
context:
space:
mode:
authorJeff Hartmann <jhartmann@valinux.com>2001-08-13 23:23:47 +0000
committerJeff Hartmann <jhartmann@valinux.com>2001-08-13 23:23:47 +0000
commitaa09e3611490d6a2f12f211c3c834f1237126313 (patch)
tree0938669d60d1697e119ed218f276aaa38830e29e /linux/radeon_cp.c
parent2d4b2cf6f69de2ceaf0c2b00ccbb24aad412b202 (diff)
Sync with Linus 2.4.9-pre2 + make all nopage routines more alike
Diffstat (limited to 'linux/radeon_cp.c')
-rw-r--r--linux/radeon_cp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/radeon_cp.c b/linux/radeon_cp.c
index 51596c7b..d95df0da 100644
--- a/linux/radeon_cp.c
+++ b/linux/radeon_cp.c
@@ -630,10 +630,10 @@ static void radeon_cp_init_ring_buffer( drm_device_t *dev,
entry->handle + tmp_ofs );
#else
RADEON_WRITE( RADEON_CP_RB_RPTR_ADDR,
- virt_to_bus(entry->pagelist[page_ofs]->virtual));
+ page_to_bus(entry->pagelist[page_ofs]));
DRM_DEBUG( "ring rptr: offset=0x%08lx handle=0x%08lx\n",
- virt_to_bus(entry->pagelist[page_ofs]->virtual),
+ page_to_bus(entry->pagelist[page_ofs]),
entry->handle + tmp_ofs );
#endif
}