summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/drm_vm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drm_vm.h b/linux/drm_vm.h
index d8c35ee6..965b7dd1 100644
--- a/linux/drm_vm.h
+++ b/linux/drm_vm.h
@@ -504,7 +504,7 @@ unsigned long DRM(core_get_map_ofs)(drm_map_t *map)
unsigned long DRM(core_get_reg_ofs)(struct drm_device *dev)
{
#ifdef __alpha__
- return dev->host->dense_mem_base - dev->hose_mem_space->start;
+ return dev->hose->dense_mem_base - dev->hose->mem_space->start;
#else
return 0;
#endif