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:
b8dd314
)
drm_modeset_ctl_t fixes.
author
Michel Dänzer
<michel@tungstengraphics.com>
Fri, 22 Jun 2007 09:44:19 +0000
(11:44 +0200)
committer
Michel Dänzer
<michel@tungstengraphics.com>
Fri, 22 Jun 2007 09:44:19 +0000
(11:44 +0200)
s/u64/drm_u64_t/ to allow userspace code using drm.h to compile.
Move 64 bit arg member to the beginning to avoid alignment issues with 32
bit userspace on 64 bit kernels.
shared-core/drm.h
patch
|
blob
|
history
diff --git
a/shared-core/drm.h
b/shared-core/drm.h
index
3cd6d50
..
eae25c6
100644
(file)
--- a/
shared-core/drm.h
+++ b/
shared-core/drm.h
@@
-598,8
+598,8
@@
typedef enum {
* \sa drmModesetCtl().
*/
typedef struct drm_modeset_ctl {
+ drm_u64_t arg;
drm_modeset_ctl_cmd_t cmd;
- u64 arg;
} drm_modeset_ctl_t;
/**