[Freeswitch-dev] skypopen.ko compile failed for 2.6.36.4
Anton VG
anton.vazir at gmail.com
Sat May 7 00:12:56 MSD 2011
Actually new IOCTL should avoid BKL, but it's written that
conpat_ioctl should nto use BKL too, if it is not so - the code should
be changed to use
unlocked_ioct instead to avoid BKL
2011/5/7 Anton VG <anton.vazir at gmail.com>:
> IOCTL system in new kernels changed, it's described here
>
> http://lwn.net/Articles/119652/
>
> so we change line 315 of main.c of skypopen:
>
> Old code
> .ioctl = skypopen_ioctl
>
> new code
> .compat_ioctl = skypopen_ioctl
>
> Than it compiles and loads into the kernel.
> I'm just going to test if it actually works.
>
> sorry for not providing patch, lasy...
>
More information about the FreeSWITCH-dev
mailing list