aboutsummaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorBen Skeggs <darktama@iinet.net.au>2007-01-19 15:41:51 +1100
committerBen Skeggs <darktama@iinet.net.au>2007-01-19 15:41:51 +1100
commit19ba0749384994662e0d6167c70cc6fbd78eb0ff (patch)
tree079492e2079d3d6c8e618f9747f02d4bdfc31acc /shared-core
parent4291df69bd03f71cbbe91b7b1ad82b580e1d362a (diff)
nouveau: fix getparam from 32-bit client on 64-bit kernel
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/nouveau_drm.h1
-rw-r--r--shared-core/nouveau_drv.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/shared-core/nouveau_drm.h b/shared-core/nouveau_drm.h
index 3f363192..0f11c43a 100644
--- a/shared-core/nouveau_drm.h
+++ b/shared-core/nouveau_drm.h
@@ -93,6 +93,7 @@ drm_nouveau_mem_free_t;
#define NOUVEAU_GETPARAM_AGP_PHYSICAL 7
typedef struct drm_nouveau_getparam {
unsigned int param;
+ unsigned int dummy;
uint64_t value;
}
drm_nouveau_getparam_t;
diff --git a/shared-core/nouveau_drv.h b/shared-core/nouveau_drv.h
index 4978c476..522a8cf9 100644
--- a/shared-core/nouveau_drv.h
+++ b/shared-core/nouveau_drv.h
@@ -34,7 +34,7 @@
#define DRIVER_MAJOR 0
#define DRIVER_MINOR 0
-#define DRIVER_PATCHLEVEL 2
+#define DRIVER_PATCHLEVEL 3
#define NOUVEAU_FAMILY 0x0000FFFF
#define NOUVEAU_FLAGS 0xFFFF0000