Messages in this thread | | | Date | Wed, 14 May 2003 07:35:38 +0100 | From | Christoph Hellwig <> | Subject | Re: [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/
| |