Re: [patch 3/3] futex_compat: update to match native version

From: Ingo Molnar
Date: Mon Sep 10 2007 - 15:36:37 EST



* arnd@xxxxxxxx <arnd@xxxxxxxx> 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@xxxxxxx>

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