From a5747964ec29ece7cccb981330e073748f2fd447 Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Wed, 16 Nov 2005 10:55:53 +0000 Subject: Fixed long standing 64-bit bug in via memory manager. Bumped via date and patchlevel. --- shared-core/via_drv.h | 4 ++-- shared-core/via_mm.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'shared-core') diff --git a/shared-core/via_drv.h b/shared-core/via_drv.h index ce5e8e22..06778f2d 100644 --- a/shared-core/via_drv.h +++ b/shared-core/via_drv.h @@ -28,11 +28,11 @@ #define DRIVER_NAME "via" #define DRIVER_DESC "VIA Unichrome / Pro" -#define DRIVER_DATE "20051115" +#define DRIVER_DATE "20051116" #define DRIVER_MAJOR 2 #define DRIVER_MINOR 7 -#define DRIVER_PATCHLEVEL 3 +#define DRIVER_PATCHLEVEL 4 #include "via_verifier.h" diff --git a/shared-core/via_mm.c b/shared-core/via_mm.c index d7a55ed2..e9c3d0a0 100644 --- a/shared-core/via_mm.c +++ b/shared-core/via_mm.c @@ -42,7 +42,7 @@ static int via_agp_free(drm_via_mem_t * mem); static int via_fb_alloc(drm_via_mem_t * mem); static int via_fb_free(drm_via_mem_t * mem); -static int add_alloc_set(int context, int type, unsigned int val) +static int add_alloc_set(int context, int type, unsigned long val) { int i, retval = 0; @@ -56,7 +56,7 @@ static int add_alloc_set(int context, int type, unsigned int val) return retval; } -static int del_alloc_set(int context, int type, unsigned int val) +static int del_alloc_set(int context, int type, unsigned long val) { int i, retval = 0; -- cgit v1.2.3