Re: [PATCH] compat-ioctl glue code to make mga_vid work for 32-bit mplayer on 64-bit kernel
Attila Kinali <[email protected]> Fri, 5 Sep 2008 11:02:45 +0200
| Newsgroups | gmane.comp.video.mplayer.user.matrox |
|---|---|
| Organization | NERV |
| Message-ID | <[email protected]> |
On Mon, 1 Sep 2008 14:58:41 -0700 (PDT) Dirk Porezag <[email protected]> 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