From: tip-bot for Andi Kleen <tipbot@zytor.com>
To: linux-tip-commits@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, hpa@zytor.com, mingo@kernel.org,
ak@linux.intel.com, tglx@linutronix.de, hpa@linux.intel.com
Subject: [tip:x86/asmlinkage] asmlinkage, x86: Fix 32bit memcpy for LTO
Date: Thu, 13 Feb 2014 19:59:38 -0800 [thread overview]
Message-ID: <tip-a9143296dd612dceb0765229ccfb13fd642e2840@git.kernel.org> (raw)
In-Reply-To: <1391845930-28580-11-git-send-email-ak@linux.intel.com>
Commit-ID: a9143296dd612dceb0765229ccfb13fd642e2840
Gitweb: http://git.kernel.org/tip/a9143296dd612dceb0765229ccfb13fd642e2840
Author: Andi Kleen <ak@linux.intel.com>
AuthorDate: Sat, 8 Feb 2014 08:52:07 +0100
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Thu, 13 Feb 2014 18:14:46 -0800
asmlinkage, x86: Fix 32bit memcpy for LTO
These functions can be called implicitely from gcc, and thus need to be
visible.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1391845930-28580-11-git-send-email-ak@linux.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
---
arch/x86/lib/memcpy_32.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/x86/lib/memcpy_32.c b/arch/x86/lib/memcpy_32.c
index e78761d..a404b4b 100644
--- a/arch/x86/lib/memcpy_32.c
+++ b/arch/x86/lib/memcpy_32.c
@@ -4,7 +4,7 @@
#undef memcpy
#undef memset
-void *memcpy(void *to, const void *from, size_t n)
+__visible void *memcpy(void *to, const void *from, size_t n)
{
#ifdef CONFIG_X86_USE_3DNOW
return __memcpy3d(to, from, n);
@@ -14,13 +14,13 @@ void *memcpy(void *to, const void *from, size_t n)
}
EXPORT_SYMBOL(memcpy);
-void *memset(void *s, int c, size_t count)
+__visible void *memset(void *s, int c, size_t count)
{
return __memset(s, c, count);
}
EXPORT_SYMBOL(memset);
-void *memmove(void *dest, const void *src, size_t n)
+__visible void *memmove(void *dest, const void *src, size_t n)
{
int d0,d1,d2,d3,d4,d5;
char *ret = dest;
next prev parent reply other threads:[~2014-02-14 3:59 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-08 7:51 [PATCH 01/14] asmlinkage, kvm: Make kvm_rebooting visible Andi Kleen
2014-02-08 7:51 ` [PATCH 02/14] asmlinkage: Make __iowrite32_copy visible Andi Kleen
2014-02-14 3:57 ` [tip:x86/asmlinkage] " tip-bot for Andi Kleen
2014-02-08 7:51 ` [PATCH 03/14] asmlinkage: Make jiffies visible Andi Kleen
2014-02-14 3:58 ` [tip:x86/asmlinkage] " tip-bot for Andi Kleen
2014-02-08 7:52 ` [PATCH 04/14] asmlinkage, pnp: Make variables used from assembler code visible Andi Kleen
2014-02-14 3:58 ` [tip:x86/asmlinkage] " tip-bot for Andi Kleen
2014-02-08 7:52 ` [PATCH 05/14] asmlinkage: Make lockdep_sys_exit asmlinkage Andi Kleen
2014-02-14 3:58 ` [tip:x86/asmlinkage] " tip-bot for Andi Kleen
2014-02-08 7:52 ` [PATCH 06/14] asmlinkage: Make trace_hardirq visible Andi Kleen
2014-02-10 11:24 ` Peter Zijlstra
2014-02-14 3:58 ` [tip:x86/asmlinkage] " tip-bot for Andi Kleen
2014-02-08 7:52 ` [PATCH 07/14] asmlinkage, mutex: Mark __visible Andi Kleen
2014-02-14 3:58 ` [tip:x86/asmlinkage] " tip-bot for Andi Kleen
2014-02-08 7:52 ` [PATCH 08/14] asmlinkage: Make main_extable_sort_needed visible Andi Kleen
2014-02-14 3:59 ` [tip:x86/asmlinkage] " tip-bot for Andi Kleen
2014-02-08 7:52 ` [PATCH 09/14] asmlinkage: Mark rwsem functions that can be called from assembler asmlinkage Andi Kleen
2014-02-14 3:59 ` [tip:x86/asmlinkage] " tip-bot for Andi Kleen
2014-02-08 7:52 ` [PATCH 10/14] asmlinkage Make __stack_chk_failed and memcmp visible Andi Kleen
2014-02-14 3:59 ` [tip:x86/asmlinkage] " tip-bot for Andi Kleen
2014-02-08 7:52 ` [PATCH 11/14] asmlinkage, x86: Fix 32bit memcpy for LTO Andi Kleen
2014-02-14 3:59 ` tip-bot for Andi Kleen [this message]
2014-02-08 7:52 ` [PATCH 12/14] asmlinkage: Make trace_hardirqs_on/off_caller visible Andi Kleen
2014-02-14 3:59 ` [tip:x86/asmlinkage] asmlinkage: Make trace_hardirqs_on/ off_caller visible tip-bot for Andi Kleen
2014-02-08 7:52 ` [PATCH 13/14] initconst: Fix initconst mistake in dcdbas Andi Kleen
2014-02-14 4:00 ` [tip:x86/asmlinkage] " tip-bot for Andi Kleen
2014-02-08 7:52 ` [PATCH 14/14] initconst, x86: Fix initconst mistake in ts5500 code Andi Kleen
2014-02-14 4:00 ` [tip:x86/asmlinkage] " tip-bot for Andi Kleen
2014-02-08 8:13 ` [PATCH 01/14] asmlinkage, kvm: Make kvm_rebooting visible Paolo Bonzini
2014-02-10 23:46 ` Andrew Morton
2014-02-14 3:57 ` [tip:x86/asmlinkage] " tip-bot for 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=tip-a9143296dd612dceb0765229ccfb13fd642e2840@git.kernel.org \
--to=tipbot@zytor.com \
--cc=ak@linux.intel.com \
--cc=hpa@linux.intel.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tip-commits@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=tglx@linutronix.de \
/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