lkml.org 
[lkml]   [2003]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.5.68 FUTEX support should be optional
On Tue, May 13, 2003 at 11:32:19PM -0700, Andrew Morton wrote:
> asmlinkage long compat_sys_futex(u32 *uaddr, int op, int val,
> struct compat_timespec *utime)
> {
> +#ifdef CONFIG_FUTEX
> struct timespec t;
> unsigned long timeout = MAX_SCHEDULE_TIMEOUT;
>
> @@ -225,6 +224,9 @@ asmlinkage long compat_sys_futex(u32 *ua
> timeout = timespec_to_jiffies(&t) + 1;
> }
> return do_futex((unsigned long)uaddr, op, val, timeout);
> +#else
> + return -ENOSYS;
> +#endif

Please make compat_sys_futex a cond_syscall, too.

-
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: 2005-03-22 13:35    [W:0.061 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site