I believe I have found a bug with linux-fusion-3.2.*

In entries.c we do the following
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 0) && defined _STRUCT_TIMESPEC
     entry->last_lock.tv_sec = xtime.tv_sec;
     entry->last_lock.tv_usec = xtime.tv_nsec / 1000;
#else
     entry->last_lock = xtime;
#endif

However xtime seems to no longer be exported in 2.6.24.* we should be
using current_kernel_time() instead.
This seems to have been available since 2.6.11 and returns 'struct timespec'

so we assign entry->last_lock = current_kernel_time();

If I have understood the code properly.

Many thanks
Daniel Laird

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to