1
0
Fork 0

[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>
hifive-unleashed-5.1
Anton Blanchard 2006-06-25 05:48:44 -07:00 committed by Linus Torvalds
parent 165d6c78ee
commit 2aa92581fb
1 changed files with 1 additions and 1 deletions

View 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