[MPlayer-dev-eng] Minor quirk for Kernel 2.6.6 in ldt_keeper.c

Diego Biurrun diego at biurrun.de
Wed May 26 08:38:56 CEST 2004


Ingo Krabbe writes:
> seems to be a version quirk in loader/ldt_keeper.c
> 
> ---- lines 27ff
> // 2.5.xx+ calls this user_desc:
> #include <linux/version.h>
> #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,47)
> #define modify_ldt_ldt_s user_desc
> #endif
> 
> It looks as if kernel 2.6 calls this modify_ldt_ldt_s again.
> 
> so you might should change
> 
> if ( (LINUX_VERSION_CODE>=KERNEL_VERSION(2,5,47)) &&
>       LINUX_VERSION_CODE<KERNEL_VERSION(2,6,6)) )
> 
> I don't know the exact kernel version this has been changed back.  It is 
> likely that this change has come into affect with Kernel 2.6.0.

Could you try to verify when this changed?  The best solution would
probably be to drop the check entirely, especially if it is 2.6.0.

Diego




More information about the MPlayer-dev-eng mailing list