summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/compat_ioctl32.c
diff options
context:
space:
mode:
authorHans Verkuil <devnull@localhost>2005-11-12 23:12:53 +0000
committerHans Verkuil <devnull@localhost>2005-11-12 23:12:53 +0000
commit68bee46a58e8a58c55a5991123ec927df939d420 (patch)
treeb63ba5c2f2dab5c4674fb0f3d0b14bc001598afe /linux/drivers/media/video/compat_ioctl32.c
parentae044a08f3f0208468ac2dfa4b22fcb68d6dd043 (diff)
downloadmediapointer-dvb-s2-68bee46a58e8a58c55a5991123ec927df939d420.tar.gz
mediapointer-dvb-s2-68bee46a58e8a58c55a5991123ec927df939d420.tar.bz2
64-bit fixes esp. for broken compat_ioctl32.
From: Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/compat_ioctl32.c')
-rw-r--r--linux/drivers/media/video/compat_ioctl32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/compat_ioctl32.c b/linux/drivers/media/video/compat_ioctl32.c
index 0321ae294..8defd77d8 100644
--- a/linux/drivers/media/video/compat_ioctl32.c
+++ b/linux/drivers/media/video/compat_ioctl32.c
@@ -3,6 +3,7 @@
#include "compat.h"
#include <linux/videodev.h>
#include <linux/module.h>
+#include <linux/smp_lock.h>
#ifdef CONFIG_COMPAT
struct video_tuner32 {
@@ -308,9 +309,8 @@ long v4l_compat_ioctl32(struct file *file, unsigned int cmd, unsigned long arg)
case _IOR('v' , BASE_VIDIOCPRIVATE+7, int):
ret = native_ioctl(file, cmd, (unsigned long)compat_ptr(arg));
break;
-
- return ret;
}
+ return ret;
}
#else
long v4l_compat_ioctl32(struct file *file, unsigned int cmd, unsigned long arg)