From: Anton Blanchard Date: Sun, 25 Jun 2006 12:48:44 +0000 (-0700) Subject: [PATCH] Link error when futexes are disabled on 64bit architectures X-Git-Tag: v2.6.18-rc1~930 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2aa92581fb13e04e1440e5041b412cc06c782e0e;p=linux-2.6-omap-h63xx.git [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 Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/kernel/exit.c b/kernel/exit.c index b12a4706f73..601263c0806 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