[MPlayer-matrox] [PATCH] compat-ioctl glue code to make mga_vid work for 32-bit mplayer on 64-bit kernel
Attila Kinali
attila at kinali.ch
Fri Sep 5 11:02:45 CEST 2008
On Mon, 1 Sep 2008 14:58:41 -0700 (PDT)
Dirk Porezag <porezag at yahoo.com> wrote:
> +static long mga_vid_compat_ioctl (struct file *file, unsigned int cmd,
> + unsigned long arg) {
> + long ret= 0;
> + lock_kernel();
> + ret= (long) mga_vid_ioctl((struct inode *) NULL, file, cmd, arg);
> + unlock_kernel();
> + return ret;
Is there any specific reason why you use here the BKL or
locking at all?
Attila Kinali
--
A strange game.
The only winning move is not to play.
-- Joshua, WarGames
More information about the MPlayer-matrox
mailing list