diff options
author | Dave Airlie <airlied@linux.ie> | 2004-09-05 10:10:34 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2004-09-05 10:10:34 +0000 |
commit | f96e00595dff85e18697205686f568042e0b083b (patch) | |
tree | 815609f62d44cd12a18ff64515bead8a845264ab | |
parent | 3dcbc1f4a13e2f8d5ddb2a9ae8bc83c48a30a2b7 (diff) |
bad code copy for alpha.. fix the member names
-rw-r--r-- | linux-core/drm_vm.c | 2 | ||||
-rw-r--r-- | linux/drm_vm.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/linux-core/drm_vm.c b/linux-core/drm_vm.c index d8c35ee6..965b7dd1 100644 --- a/linux-core/drm_vm.c +++ b/linux-core/drm_vm.c @@ -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 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 |