summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-06-22 11:44:19 +0200
committerMichel Dänzer <michel@tungstengraphics.com>2007-06-22 11:44:19 +0200
commit6e2cd7c16331b07c395732d132a6a4cdc1fad481 (patch)
tree7ad2cdcf260d87944e10b44c229375f71dfdb97c
parentb8dd31487551ff83b63205a5cefbd06de7d4fbca (diff)
drm_modeset_ctl_t fixes.
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.
-rw-r--r--shared-core/drm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/drm.h b/shared-core/drm.h
index 3cd6d500..eae25c64 100644
--- 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;
/**