alpha, drm: Cleanup Alpha support in DRM generic code
Subsystems (3)
PATCH 1/3 alpha, drm: Cleanup Alpha support in DRM generic code
Remove an obsolete Alpha adjustment, and modify another, to go with the current Alpha architecture support.
Signed-off-by Jay Estabrook <[email protected]>
--- drivers/gpu/drm/drm_bufs.c | 3 --- drivers/gpu/drm/drm_vm.c | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-)
drivers/gpu/drm/drm_bufs.c +0 -3
@@ -183,9 +183,6 @@ static int drm_addmap_core(struct drm_de return -EINVAL; }#endif -#ifdef __alpha__ - map->offset += dev->hose->mem_space->start; -#endif /* Some drivers preinitialize some maps, without the X Server * needing to be aware of it. Therefore, we just return success * when the server tries to create a duplicate map.
drivers/gpu/drm/drm_vm.c +1 -1
@@ -526,7 +526,7 @@ static int drm_mmap_dma(struct file *filstatic resource_size_t drm_core_get_reg_ofs (struct drm_device *dev) {#ifdef __alpha__ -return dev->hose->dense_mem_base - dev->hose->mem_space->start; +return dev->hose->dense_mem_base;#else return 0 ;#endif
---