summaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorThomas Hellstrom <unichrome@shipmail.org>2005-11-16 10:55:53 +0000
committerThomas Hellstrom <unichrome@shipmail.org>2005-11-16 10:55:53 +0000
commita5747964ec29ece7cccb981330e073748f2fd447 (patch)
tree3f25b01dc7f9dadb4055b480f0f528e1cdd38628 /shared-core
parentc8261e3d2486050dcd76fb769f6806982260df96 (diff)
Fixed long standing 64-bit bug in via memory manager. Bumped via date and
patchlevel.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/via_drv.h4
-rw-r--r--shared-core/via_mm.c4
2 files changed, 4 insertions, 4 deletions
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;