bad code copy for alpha.. fix the member names

main
Dave Airlie 2004-09-05 10:10:34 +00:00
parent 3dcbc1f4a1
commit f96e00595d
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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