summaryrefslogtreecommitdiff
path: root/arch/x86/lib/memcpy_32.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lib/memcpy_32.c')
-rw-r--r--arch/x86/lib/memcpy_32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/memcpy_32.c b/arch/x86/lib/memcpy_32.c
index cad12634d6bd..2eab7d0bfedd 100644
--- a/arch/x86/lib/memcpy_32.c
+++ b/arch/x86/lib/memcpy_32.c
@@ -6,7 +6,7 @@
__visible void *memcpy(void *to, const void *from, size_t n)
{
-#ifdef CONFIG_X86_USE_3DNOW
+#if defined(CONFIG_X86_USE_3DNOW) && !defined(CONFIG_FORTIFY_SOURCE)
return __memcpy3d(to, from, n);
#else
return __memcpy(to, from, n);