On Fri, Mar 07, 2008 at 03:54:31PM +0000, Daniel Laird wrote:
> 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.

Yes, but you're too late :)

commit a3de17819d39a23199d7b1c6f606d70c0d7580db
Author: Ville Syrjala <[EMAIL PROTECTED]>
Date:   Sat Dec 1 21:18:59 2007 +0200

    Use current_kernel_time() instead of xtime
    
    xtime is no longer exported in 2.6.24 so use current_kernel_time() instead.

-- 
Ville Syrjälä
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

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

Reply via email to