From: Mauro Carvalho Chehab Date: Sat, 22 Jul 2006 11:20:07 +0000 (-0300) Subject: V4L/DVB (4342): Fix ext_controls align on 64 bit architectures X-Git-Tag: v2.6.18-rc4~72^2~8 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f251d23eaee673524171b24a71a8794acf82783e;p=linux-2.6 V4L/DVB (4342): Fix ext_controls align on 64 bit architectures u64 is aligned as 128bits on x86_64 architetures, requiring an special handling to ioctls that depends on v4l2_ext_control. Let's fix this before ext controls go to kernel mainstream to avoid one more compat32 stuff. Signed-off-by: Mauro Carvalho Chehab --- diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index a62673dad7..b7146956a9 100644 --- a/include/linux/videodev2.h +++ b/include/linux/videodev2.h @@ -716,7 +716,7 @@ struct v4l2_ext_control __s64 value64; void *reserved; }; -}; +} __attribute__ ((packed)); struct v4l2_ext_controls {