diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-07-22 08:20:07 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-07-29 17:22:29 -0300 |
commit | f251d23eaee673524171b24a71a8794acf82783e (patch) | |
tree | b09cbcb2dcd90bb7173333eb2d3d5e3db3c00398 /include/linux/videodev2.h | |
parent | eb4eeccc18246c852fffc771efc3c07a547aeb97 (diff) | |
download | lwn-f251d23eaee673524171b24a71a8794acf82783e.tar.gz lwn-f251d23eaee673524171b24a71a8794acf82783e.zip |
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 <mchehab@infradead.org>
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r-- | include/linux/videodev2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h index a62673dad76e..b7146956a929 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 { |