lkml.org 
[lkml]   [2006]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2006-02-23 08:57    [W:0.875 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site