]> pilppa.com Git - linux-2.6-omap-h63xx.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)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:17 +0000 (10:01 -0700)
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>
kernel/exit.c

index b12a4706f73f1dca53b5477c2bed80ff18231c4c..601263c0806f3f2580b94db235f18a02503e1ff4 100644 (file)
@@ -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