mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tsutomu OWA <tsutomu.owa@toshiba.co.jp>
To: mingo@elte.hu
Cc: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org,
	tsutomu.owa@toshiba.co.jp
Subject: [patch 4/7] powerpc 2.6.20-rt8: fix compile error (futex.h)
Date: Wed, 07 Mar 2007 10:18:05 +0900	[thread overview]
Message-ID: <yyiejo126nm.wl@toshiba.co.jp> (raw)
In-Reply-To: <yyik5xt27c0.wl@toshiba.co.jp>


To fix the following compile error by adding dummy functions for now.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
include/asm-powerpc/futex.h
kernel/built-in.o: In function `fixup_pi_state_owner64':
kernel/futex.c:2380: undefined reference to `.futex_atomic_cmpxchg_inatomic64'
kernel/built-in.o: In function `futex_lock_pi64':
kernel/futex.c:3228: undefined reference to `.futex_atomic_cmpxchg_inatomic64'
kernel/futex.c:3273: undefined reference to `.futex_atomic_cmpxchg_inatomic64'
kernel/futex.c:3310: undefined reference to `.futex_atomic_cmpxchg_inatomic64'
kernel/built-in.o: In function `futex_requeue_pi64':
kernel/futex.c:2756: undefined reference to `.futex_atomic_cmpxchg_inatomic64'
kernel/built-in.o: In function `do_futex64':
kernel/futex.c:2547: undefined reference to `.futex_atomic_op_inuser64'
kernel/futex.c:3446: undefined reference to `.futex_atomic_cmpxchg_inatomic64'
	:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Signed-off-by: Tsutomu Owa <tsutomu.owa@toshiba.co.jp>
-- owa

diff -rup linux-rt8/include/asm-powerpc/futex.h rt/include/asm-powerpc/futex.h
--- linux-rt8/include/asm-powerpc/futex.h	2007-02-20 09:37:26.000000000 +0900
+++ rt/include/asm-powerpc/futex.h	2007-03-05 10:36:15.000000000 +0900
@@ -113,5 +113,25 @@ futex_atomic_cmpxchg_inatomic(int __user
         return prev;
 }
 
+static inline int
+futex_atomic_op_inuser64 (int encoded_op, u64 __user *uaddr)
+{
+       /* FIXME: implement this at some point! */
+	printk("futex_atomic_op_inuser64: not yet.\n");
+       BUG();
+
+       return 0;
+}
+
+static inline u64
+futex_atomic_cmpxchg_inatomic64(u64 __user *uaddr, u64 oldval, u64 newval)
+{
+       /* FIXME: implement this at some point! */
+	printk("futex_atomic_cmpxchg_inatomic64: not yet.\n");
+       BUG();
+
+       return 0;
+}
+
 #endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_FUTEX_H */


  parent reply	other threads:[~2007-03-07  1:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-07  1:03 [patch 0/7 -rt] powerpc 2.6.20-rt8: fix build breakage for PowerPC(ppc64) Tsutomu OWA
2007-03-07  1:14 ` [patch 1/7 -rt] powerpc 2.6.20-rt8: fix compile error in bug.h Tsutomu OWA
2007-03-07  1:15 ` [patch 2/7] powerpc 2.6.20-rt8: fix compile error (time.c) Tsutomu OWA
2007-03-07  1:16 ` [patch 3/7] powerpc 2.6.20-rt8: fix compile error (manage.c) Tsutomu OWA
2007-03-07  1:18 ` Tsutomu OWA [this message]
2007-03-07  1:19 ` [patch 5/7 -rt] powerpc 2.6.20-rt8: fix compile error (spinlock.h) Tsutomu OWA
2007-03-07  1:20 ` [patch 6/7 -rt] powerpc 2.6.20-rt8: fix compile error (percpu.h) Tsutomu OWA
2007-03-07  1:22 ` [patch 7/7 -rt] powerpc 2.6.20-rt8: fix compile error (hw_irq.h) Tsutomu OWA
2007-03-07  9:05 ` [patch 0/7 -rt] powerpc 2.6.20-rt8: fix build breakage for PowerPC(ppc64) 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=yyiejo126nm.wl@toshiba.co.jp \
    --to=tsutomu.owa@toshiba.co.jp \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=mingo@elte.hu \
    /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

all inboxes | Powered by JetHome®