From: Andi Kleen <andi@firstfloor.org>
To: x86@kernel.org
Cc: linux-kernel@vger.kernel.org, torvalds@linux-foundation.org,
Andi Kleen <ak@linux.intel.com>
Subject: [PATCH 1/4] Revert "lto: Make asmlinkage __visible"
Date: Tue, 1 Apr 2014 19:32:34 +0200 [thread overview]
Message-ID: <1396373557-3387-2-git-send-email-andi@firstfloor.org> (raw)
In-Reply-To: <1396373557-3387-1-git-send-email-andi@firstfloor.org>
From: Andi Kleen <ak@linux.intel.com>
As requested by Linus, revert adding __visible to asmlinkage.
Instead we add __visible explicitely to all the symbols
that need it.
This reverts commit 128ea04a9885af9629059e631ddf0cab4815b589.
---
include/linux/linkage.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/linux/linkage.h b/include/linux/linkage.h
index 34a513a..a6a42dd 100644
--- a/include/linux/linkage.h
+++ b/include/linux/linkage.h
@@ -12,9 +12,9 @@
#endif
#ifdef __cplusplus
-#define CPP_ASMLINKAGE extern "C" __visible
+#define CPP_ASMLINKAGE extern "C"
#else
-#define CPP_ASMLINKAGE __visible
+#define CPP_ASMLINKAGE
#endif
#ifndef asmlinkage
--
1.8.5.2
next prev parent reply other threads:[~2014-04-01 17:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-01 17:32 Fix up asmlinkage Andi Kleen
2014-04-01 17:32 ` Andi Kleen [this message]
2014-04-01 17:32 ` [PATCH 2/4] asmlinkage, x86: Add explicit __visible to arch/x86/* Andi Kleen
2014-04-01 18:33 ` Linus Torvalds
2014-04-01 17:32 ` [PATCH 3/4] asmlinkage, x86: Add explicit __visible to arch/x86/crypto/* Andi Kleen
2014-04-01 18:53 ` Linus Torvalds
2014-04-01 19:09 ` Linus Torvalds
2014-04-01 23:22 ` Andi Kleen
2014-04-01 17:32 ` [PATCH 4/4] asmlinkage: Add explicit __visible to drivers/*, lib/*, kernel/* Andi Kleen
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=1396373557-3387-2-git-send-email-andi@firstfloor.org \
--to=andi@firstfloor.org \
--cc=ak@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=x86@kernel.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