diff options
author | Kevin E Martin <kem@kem.org> | 2001-04-30 15:07:18 +0000 |
---|---|---|
committer | Kevin E Martin <kem@kem.org> | 2001-04-30 15:07:18 +0000 |
commit | df76f812924e4db284fd38b3c5db6b87ec0d82fc (patch) | |
tree | 07c416af9b3e3fedfba1f10db35ccc8be1c4b39c /libdrm | |
parent | d1ef7f9d2c9f8f191ab79b1a43eb96a787df5f64 (diff) |
- PCIGART patches for Alpha from Compaq
Diffstat (limited to 'libdrm')
-rw-r--r-- | libdrm/xf86drm.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libdrm/xf86drm.c b/libdrm/xf86drm.c index 4c8b1e84..8d663dae 100644 --- a/libdrm/xf86drm.c +++ b/libdrm/xf86drm.c @@ -67,11 +67,6 @@ extern int xf86RemoveSIGIOHandler(int fd); # endif #endif -#if defined(__alpha__) && defined(__linux__) -extern unsigned long _bus_base(void); -#define BUS_BASE _bus_base() -#endif - /* Not all systems have MAP_FAILED defined */ #ifndef MAP_FAILED #define MAP_FAILED ((void *)-1) @@ -494,11 +489,6 @@ int drmAddMap(int fd, drm_map_t map; map.offset = offset; -#ifdef __alpha__ - /* Make sure we add the bus_base to all but shm */ - if (type != DRM_SHM) - map.offset += BUS_BASE; -#endif map.size = size; map.handle = 0; map.type = type; |