DORMANTno replies

[PATCH] Link error when futexes are disabled on 64bit architectures

From: Anton Blanchard <hidden>
Date: 2006-06-10 15:01:45

If futexes are disabled we fail to link on ppc64.

Signed-off-by: Anton Blanchard <redacted>
---

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help