lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <yyiejo126nm.wl@toshiba.co.jp>
Date:	Wed, 07 Mar 2007 10:18:05 +0900
From:	Tsutomu OWA <tsutomu.owa@...hiba.co.jp>
To:	mingo@...e.hu
Cc:	linuxppc-dev@...abs.org, linux-kernel@...r.kernel.org,
	tsutomu.owa@...hiba.co.jp
Subject: [patch 4/7] powerpc 2.6.20-rt8: fix compile error (futex.h)


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@...hiba.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 */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ