Messages in this thread Patch in this message | | | Date | Wed, 22 Feb 2006 23:35:21 -0800 | From | Andrew Morton <> | Subject | Re: [patch 4/6] lightweight robust futexes: compat |
| |
Paul Jackson <pj@sgi.com> wrote: > > kernel/built-in.o(.text+0x54782): In function `compat_sys_get_robust_list': > kernel/futex_compat.c:92: undefined reference to `ptr_to_compat'
Yup. Ingo has sent through fixes for the four missing architectures (uploads them to hot-fixes). Here's ia64:
include/asm-ia64/compat.h --- devel/include/asm-ia64/compat.h~ia64-add-ptr-to-compatpatch 2006-02-21 17:00:33.000000000 -0800 +++ devel-akpm/include/asm-ia64/compat.h 2006-02-21 17:00:33.000000000 -0800 @@ -189,6 +189,12 @@ compat_ptr (compat_uptr_t uptr) return (void __user *) (unsigned long) uptr; } +static inline compat_uptr_t +ptr_to_compat(void __user *uptr) +{ + return (u32)(unsigned long)uptr; +} + static __inline__ void __user * compat_alloc_user_space (long len) { _ - 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/
| |