2006-05-08 09:17:36

by Dipankar Sarma

[permalink] [raw]
Subject: [RT PATCH] fix futex compilation (rt20)

Hi Ingo,

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

Thanks
Dipankar

Signed-off-by: Dipankar Sarma <[email protected]>

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);
}

_


2006-05-09 08:21:05

by Sébastien Dugué

[permalink] [raw]
Subject: Re: [RT PATCH] fix futex compilation (rt20)

On Mon, 2006-05-08 at 14:45 +0530, Dipankar Sarma wrote:
> Hi Ingo,
>
> I needed this patch to compile and boot rt20 on x86_64. Just FYI.
>
> Thanks
> Dipankar
>
> Signed-off-by: Dipankar Sarma <[email protected]>
>
> 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);
> }
>
> _

Whoops, missed this one, thanks.

OK with me.

S?bastien.

2006-05-10 07:54:31

by Ingo Molnar

[permalink] [raw]
Subject: Re: [RT PATCH] fix futex compilation (rt20)


* Dipankar Sarma <[email protected]> wrote:

> Hi Ingo,
>
> I needed this patch to compile and boot rt20 on x86_64. Just FYI.

thanks, applied.

Ingo