]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
[PATCH] Link error when futexes are disabled on 64bit architectures
authorAnton Blanchard <anton@samba.org>
Sun, 25 Jun 2006 12:48:44 +0000 (05:48 -0700)
committerChris Wright <chrisw@sous-sol.org>
Fri, 30 Jun 2006 00:17:17 +0000 (17:17 -0700)
From: Anton Blanchard <anton@samba.org>

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: Chris Wright <chrisw@sous-sol.org>
kernel/exit.c

index e06d0c10a24e2f4e054d17c21d032beadf8d1ba6..ccf791ba865be25407e8580d0ac05fe01eb2eaa9 100644 (file)
@@ -899,7 +899,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