projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
165d6c7
)
[PATCH] Link error when futexes are disabled on 64bit architectures
author
Anton Blanchard
<anton@samba.org>
Sun, 25 Jun 2006 12:48:44 +0000
(
05:48
-0700)
committer
Linus 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
patch
|
blob
|
blame
|
history
diff --git
a/kernel/exit.c
b/kernel/exit.c
index b12a4706f73f1dca53b5477c2bed80ff18231c4c..601263c0806f3f2580b94db235f18a02503e1ff4 100644
(file)
--- 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);
-#if
def CONFIG_COMPAT
+#if
defined(CONFIG_FUTEX) && defined(CONFIG_COMPAT)
if (unlikely(tsk->compat_robust_list))
compat_exit_robust_list(tsk);
#endif