From: Anton Blanchard <anton@samba.org>
To: linuxppc-dev@ozlabs.org
Cc: akpm@osdl.org
Subject: [PATCH] Link error when futexes are disabled on 64bit architectures
Date: Sun, 11 Jun 2006 01:01:45 +1000 [thread overview]
Message-ID: <20060610150145.GU23891@krispykreme> (raw)
If futexes are disabled we fail to link on ppc64.
Signed-off-by: Anton Blanchard <anton@samba.org>
---
Index: kernel/kernel/exit.c
===================================================================
--- kernel.orig/kernel/exit.c 2006-04-16 20:50:51.000000000 -0500
+++ kernel/kernel/exit.c 2006-04-16 21:05:32.570315496 -0500
@@ -906,7 +906,7 @@ fastcall NORET_TYPE void do_exit(long co
}
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
reply other threads:[~2006-06-10 15:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060610150145.GU23891@krispykreme \
--to=anton@samba.org \
--cc=akpm@osdl.org \
--cc=linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).