linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Link error when futexes are disabled on 64bit architectures
@ 2006-06-10 15:01 Anton Blanchard
  0 siblings, 0 replies; only message in thread
From: Anton Blanchard @ 2006-06-10 15:01 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: akpm


If futexes are disabled we fail to link on ppc64.

Signed-off-by: Anton Blanchard <anton@samba.org>
---

Index: kernel/kernel/exit.c
===================================================================
--- kernel.orig/kernel/exit.c	2006-04-16 20:50:51.000000000 -0500
+++ kernel/kernel/exit.c	2006-04-16 21:05:32.570315496 -0500
@@ -906,7 +906,7 @@ fastcall NORET_TYPE void do_exit(long co
 	}
 	if (unlikely(tsk->robust_list))
 		exit_robust_list(tsk);
-#ifdef CONFIG_COMPAT
+#if defined(CONFIG_FUTEX) && defined(CONFIG_COMPAT)
 	if (unlikely(tsk->compat_robust_list))
 		compat_exit_robust_list(tsk);
 #endif

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-10 15:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-10 15:01 [PATCH] Link error when futexes are disabled on 64bit architectures Anton Blanchard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).