Re: [patch 4/6] lightweight robust futexes: compat

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Jackson <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux