diff options
author | Rob Herring <robh@kernel.org> | 2016-03-23 15:48:39 -0500 |
---|---|---|
committer | Chih-Wei Huang <cwhuang@linux.org.tw> | 2016-04-01 13:55:38 +0800 |
commit | 24e22e3e024d0779e4d93546c51e31816b7a6186 (patch) | |
tree | 6be3679c5202c2d8237b83b02d84627d7a877ab0 /gralloc_drm_pipe.c | |
parent | c04133951d10c4c17c0dfc9b86144b5a5957e17c (diff) | |
download | external_drm_gralloc-24e22e3e024d0779e4d93546c51e31816b7a6186.zip external_drm_gralloc-24e22e3e024d0779e4d93546c51e31816b7a6186.tar.gz external_drm_gralloc-24e22e3e024d0779e4d93546c51e31816b7a6186.tar.bz2 |
Fix gralloc_drm_handle_t size mismatch on 32 and 64 bit builds, take 2
On x86 there was still a size mismatch due to x86-32 structs not following
natural alignment for 64-bit values. Force the alignment of the union.
Also, there appeared to be some padding on the end, so move the union to
the end of the struct.
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'gralloc_drm_pipe.c')
0 files changed, 0 insertions, 0 deletions