lkml.org 
[lkml]   [2007]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch 3/3] futex_compat: update to match native version

* arnd@arndb.de <arnd@arndb.de> wrote:

> A few changes have gone into the futex code but not into the
> futex_compat code, the most significant one being a fix for
> FUTEX_WAKE_OP in commit f54f098612d7f86463b5fb4763d03533d634de73.
>
> This brings both versions in sync again.

> - if (cmd == FUTEX_REQUEUE || cmd == FUTEX_CMP_REQUEUE)
> - val2 = (int) (unsigned long) utime;
> + /*
> + * requeue parameter in 'utime' if cmd == FUTEX_REQUEUE.
> + * number of waiters to wake in 'utime' if cmd == FUTEX_WAKE_OP.
> + */
> + if (cmd == FUTEX_REQUEUE || cmd == FUTEX_CMP_REQUEUE ||
> + cmd == FUTEX_WAKE_OP)
> + val2 = (u32) (unsigned long) utime;

thanks.

Acked-by: Ingo Molnar <mingo@elte.hu>

Ingo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-09-10 21:39    [W:0.058 / U:0.576 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site