patch-2.4.20 linux-2.4.20/drivers/char/drm/radeon_cp.c

Next file: linux-2.4.20/drivers/char/drm/radeon_drv.h
Previous file: linux-2.4.20/drivers/char/drm/r128_state.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.19/drivers/char/drm/radeon_cp.c linux-2.4.20/drivers/char/drm/radeon_cp.c
@@ -28,7 +28,6 @@
  *    Gareth Hughes <gareth@valinux.com>
  */
 
-#define __NO_VERSION__
 #include "radeon.h"
 #include "drmP.h"
 #include "radeon_drv.h"
@@ -623,8 +622,8 @@
 
 		RADEON_WRITE( RADEON_CP_RB_RPTR_ADDR,
 			     entry->busaddr[page_ofs]);
-		DRM_DEBUG( "ring rptr: offset=0x%08x handle=0x%08lx\n",
-			   entry->busaddr[page_ofs],
+		DRM_DEBUG( "ring rptr: offset=0x%08llx handle=0x%08lx\n",
+			   (u64)entry->busaddr[page_ofs],
 			   entry->handle + tmp_ofs );
 	}
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)