From aa09e3611490d6a2f12f211c3c834f1237126313 Mon Sep 17 00:00:00 2001 From: Jeff Hartmann Date: Mon, 13 Aug 2001 23:23:47 +0000 Subject: Sync with Linus 2.4.9-pre2 + make all nopage routines more alike --- linux/r128_cce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux/r128_cce.c') diff --git a/linux/r128_cce.c b/linux/r128_cce.c index 24b6de8d..fb19010c 100644 --- a/linux/r128_cce.c +++ b/linux/r128_cce.c @@ -358,10 +358,10 @@ static void r128_cce_init_ring_buffer( drm_device_t *dev, entry->handle + tmp_ofs ); #else R128_WRITE( R128_PM4_BUFFER_DL_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 } -- cgit v1.2.3