public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Paul Jackson <pj@sgi.com>
Cc: mingo@elte.hu, linux-kernel@vger.kernel.org, drepper@redhat.com,
	tglx@linutronix.de, arjan@infradead.org
Subject: Re: [patch 4/6] lightweight robust futexes: compat
Date: Wed, 22 Feb 2006 23:35:21 -0800	[thread overview]
Message-ID: <20060222233521.743e60cb.akpm@osdl.org> (raw)
In-Reply-To: <20060222225457.90a35cf8.pj@sgi.com>

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)
 {
_


  reply	other threads:[~2006-02-23  7:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-21  8:46 [patch 4/6] lightweight robust futexes: compat Ingo Molnar
2006-02-23  6:54 ` Paul Jackson
2006-02-23  7:35   ` Andrew Morton [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-02-16  9:42 Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060222233521.743e60cb.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=arjan@infradead.org \
    --cc=drepper@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=pj@sgi.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox