summaryrefslogtreecommitdiff
path: root/linux/include
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-07-22 08:20:07 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-07-22 08:20:07 -0300
commitd4a534b7849eeee1e2b0bd61bd8e636dcf793ca1 (patch)
tree1bc959a305da28dcecddc75f6e7ea8d28fa41a5e /linux/include
parent6f683ecd429548ad65c972fa206c7a45c033c478 (diff)
downloadmediapointer-dvb-s2-d4a534b7849eeee1e2b0bd61bd8e636dcf793ca1.tar.gz
mediapointer-dvb-s2-d4a534b7849eeee1e2b0bd61bd8e636dcf793ca1.tar.bz2
fix ext_controls align on 64 bit architectures
From: Mauro Carvalho Chehab <mchehab@infradead.org> 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 'linux/include')
-rw-r--r--linux/include/linux/videodev2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/include/linux/videodev2.h b/linux/include/linux/videodev2.h
index 60b5b4b27..9eccad749 100644
--- a/linux/include/linux/videodev2.h
+++ b/linux/include/linux/videodev2.h
@@ -716,7 +716,7 @@ struct v4l2_ext_control
__s64 value64;
void *reserved;
};
-};
+} __attribute__ ((packed));
struct v4l2_ext_controls
{