diff options
author | Jay Estabrook <jay.estabrook@gmail.com> | 2011-06-09 18:18:39 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-06-14 09:31:37 +1000 |
commit | 82ba3fef67829813d0ed4c45231235084a07f081 (patch) | |
tree | 686f80dfafde96c75badac21c3f066d26a79af7f /drivers/gpu/drm/drm_vm.c | |
parent | 96bf8bd1c953c3b9d89eac9f13dfdbf5e580060f (diff) |
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 <jay.estabrook@gmail.com>
Tested-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/drm_vm.c')
-rw-r--r-- | drivers/gpu/drm/drm_vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_vm.c b/drivers/gpu/drm/drm_vm.c index 2c3fcbdfd8f..5db96d45fc7 100644 --- a/drivers/gpu/drm/drm_vm.c +++ b/drivers/gpu/drm/drm_vm.c @@ -526,7 +526,7 @@ static int drm_mmap_dma(struct file *filp, struct vm_area_struct *vma) static 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 |