[PATCH] Link error when futexes are disabled on 64bit architectures
Anton Blanchard
anton at samba.org
Sun Jun 11 01:01:45 EST 2006
If futexes are disabled we fail to link on ppc64.
Signed-off-by: Anton Blanchard <anton at 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
More information about the Linuxppc-dev
mailing list