summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Blanchard <anton@samba.org>2006-06-25 05:48:44 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 10:01:17 -0700
commit2aa92581fb13e04e1440e5041b412cc06c782e0e (patch)
treea39761477a300c8abcb69102f75511374df3b881
parent165d6c78ee24127dde5c750b2af0a239f9c11d1a (diff)
downloadop-kernel-dev-2aa92581fb13e04e1440e5041b412cc06c782e0e.zip
op-kernel-dev-2aa92581fb13e04e1440e5041b412cc06c782e0e.tar.gz
[PATCH] Link error when futexes are disabled on 64bit architectures
If futexes are disabled we fail to link on ppc64. Signed-off-by: Anton Blanchard <anton@samba.org> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--kernel/exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index b12a470..601263c 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -898,7 +898,7 @@ fastcall NORET_TYPE void do_exit(long code)
}
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
OpenPOWER on IntegriCloud