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

Ingo Krabbe i.krabbe at dokom.net
Wed May 26 08:13:36 CEST 2004


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.






More information about the MPlayer-dev-eng mailing list