summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2000-09-14 14:48:44 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2000-09-14 14:48:44 +0000
commitdc6b57bf22ecbac04a5a1fee72fd0a43646b9c8c (patch)
tree3f383aba74966ca8f0bdb46fdac79874ab1a44c9 /linux
parentf850c1bd06d8ccb576e8836ed8f0c16db6eec343 (diff)
axp cast fix.
Diffstat (limited to 'linux')
-rw-r--r--linux/r128_drv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/r128_drv.h b/linux/r128_drv.h
index 5b15dddfb..e0eef6d20 100644
--- a/linux/r128_drv.h
+++ b/linux/r128_drv.h
@@ -197,7 +197,7 @@ extern int r128_context_switch_complete(drm_device_t *dev, int new);
#define R128_MAX_USEC_TIMEOUT 100000 /* 100 ms */
-#define R128_BASE(reg) ((u32)(dev_priv->mmio->handle))
+#define R128_BASE(reg) ((unsigned long)(dev_priv->mmio->handle))
#define R128_ADDR(reg) (R128_BASE(reg) + reg)
#define R128_DEREF(reg) *(__volatile__ int *)R128_ADDR(reg)