diff options
author | Anton Blanchard <anton@samba.org> | 2006-06-25 08:48:44 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:01:17 -0400 |
commit | 2aa92581fb13e04e1440e5041b412cc06c782e0e (patch) | |
tree | a39761477a300c8abcb69102f75511374df3b881 /kernel | |
parent | 165d6c78ee24127dde5c750b2af0a239f9c11d1a (diff) |
[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>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c index b12a4706f73f..601263c0806f 100644 --- a/kernel/exit.c +++ b/kernel/exit.c | |||
@@ -898,7 +898,7 @@ fastcall NORET_TYPE void do_exit(long code) | |||
898 | } | 898 | } |
899 | if (unlikely(tsk->robust_list)) | 899 | if (unlikely(tsk->robust_list)) |
900 | exit_robust_list(tsk); | 900 | exit_robust_list(tsk); |
901 | #ifdef CONFIG_COMPAT | 901 | #if defined(CONFIG_FUTEX) && defined(CONFIG_COMPAT) |
902 | if (unlikely(tsk->compat_robust_list)) | 902 | if (unlikely(tsk->compat_robust_list)) |
903 | compat_exit_robust_list(tsk); | 903 | compat_exit_robust_list(tsk); |
904 | #endif | 904 | #endif |