[RT PATCH] fix futex compilation (rt20)

From: Dipankar Sarma
Date: Mon May 08 2006 - 05:18:01 EST


Hi Ingo,

I needed this patch to compile and boot rt20 on x86_64. Just FYI.

Thanks
Dipankar

Signed-off-by: Dipankar Sarma <dipankar@xxxxxxxxxx>

diff -puN kernel/futex_compat.c~fix-futex-compile kernel/futex_compat.c
--- linux-2.6.16-rt20/kernel/futex_compat.c~fix-futex-compile 2006-05-08 13:59:53.000000000 +0530
+++ linux-2.6.16-rt20-dipankar/kernel/futex_compat.c 2006-05-08 14:01:02.000000000 +0530
@@ -137,5 +137,5 @@ asmlinkage long compat_sys_futex(u32 __u
if (op == FUTEX_REQUEUE || op == FUTEX_CMP_REQUEUE)
val2 = (int) (unsigned long) utime;

- return do_futex(uaddr, op, val, timeout, uaddr2, val2, val3);
+ return do_futex(uaddr, op, val, &t, uaddr2, val2, val3);
}

_
-
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/