summaryrefslogtreecommitdiff
path: root/linux/r128_drv.h
diff options
context:
space:
mode:
authorDavid Dawes <dawes@xfree86.org>2000-11-08 00:07:17 +0000
committerDavid Dawes <dawes@xfree86.org>2000-11-08 00:07:17 +0000
commit94071289a4c61a1083a3d6b3546b06cafeaeac44 (patch)
treeac34ab78e6e4b842fa14d61d944f26ab1376aa2d /linux/r128_drv.h
parent5745cb7fa70cf312d371aac44de3beae2a8d6e47 (diff)
Diffstat (limited to 'linux/r128_drv.h')
-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 63b98c72..da2f676d 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)