projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f5e397
)
put back BUS_BASE
author
David Dawes
<dawes@xfree86.org>
Wed, 18 Apr 2001 18:45:20 +0000
(18:45 +0000)
committer
David Dawes
<dawes@xfree86.org>
Wed, 18 Apr 2001 18:45:20 +0000
(18:45 +0000)
libdrm/xf86drm.c
patch
|
blob
|
history
diff --git
a/libdrm/xf86drm.c
b/libdrm/xf86drm.c
index
33d387e
..
4c8b1e8
100644
(file)
--- a/
libdrm/xf86drm.c
+++ b/
libdrm/xf86drm.c
@@
-67,6
+67,11
@@
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)