From: Inki Dae Date: Mon, 14 May 2012 11:04:38 +0000 (+0900) Subject: drm/exynos: fixed size type. X-Git-Tag: v3.5-rc2~11^2^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13b87b27421e12f82ebbaac018cea30f82e5c33e;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git drm/exynos: fixed size type. size type of drm_exynos_gem_mmap struct is changed to uint64_t and it adds pad for the struct to be aligned as 64bit. Signed-off-by: Inki Dae Signed-off-by: Kyungmin Park --- diff --git a/include/drm/exynos_drm.h b/include/drm/exynos_drm.h index b6d7ce9..6873358 100644 --- a/include/drm/exynos_drm.h +++ b/include/drm/exynos_drm.h @@ -64,6 +64,7 @@ struct drm_exynos_gem_map_off { * A structure for mapping buffer. * * @handle: a handle to gem object created. + * @pad: just padding to be 64-bit aligned. * @size: memory size to be mapped. * @mapped: having user virtual address mmaped. * - this variable would be filled by exynos gem module @@ -72,7 +73,8 @@ struct drm_exynos_gem_map_off { */ struct drm_exynos_gem_mmap { unsigned int handle; - unsigned int size; + unsigned int pad; + uint64_t size; uint64_t mapped; };