From 6e2cd7c16331b07c395732d132a6a4cdc1fad481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Fri, 22 Jun 2007 11:44:19 +0200 Subject: 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. --- shared-core/drm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shared-core') 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; /** -- cgit v1.2.3