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_bufs.c | |
parent | 96bf8bd1c953c3b9d89eac9f13dfdbf5e580060f (diff) | |
download | op-kernel-dev-82ba3fef67829813d0ed4c45231235084a07f081.zip op-kernel-dev-82ba3fef67829813d0ed4c45231235084a07f081.tar.gz |
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_bufs.c')
-rw-r--r-- | drivers/gpu/drm/drm_bufs.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/drm_bufs.c b/drivers/gpu/drm/drm_bufs.c index 3e257a5..e1bd713 100644 --- a/drivers/gpu/drm/drm_bufs.c +++ b/drivers/gpu/drm/drm_bufs.c @@ -183,9 +183,6 @@ static int drm_addmap_core(struct drm_device * dev, resource_size_t offset, 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. |