Skip to content

Commit

Permalink
V4L/DVB (4342): Fix ext_controls align on 64 bit architectures
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mauro Carvalho Chehab committed Jul 29, 2006
1 parent eb4eecc commit f251d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/linux/videodev2.h
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ struct v4l2_ext_control
__s64 value64;
void *reserved;
};
};
} __attribute__ ((packed));

struct v4l2_ext_controls
{
Expand Down

0 comments on commit f251d23

Please sign in to comment.