diff options
Diffstat (limited to 'arch/microblaze/lib/fastcopy.S')
| -rw-r--r-- | arch/microblaze/lib/fastcopy.S | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/arch/microblaze/lib/fastcopy.S b/arch/microblaze/lib/fastcopy.S index 02e3ab4eddf..62021d7e249 100644 --- a/arch/microblaze/lib/fastcopy.S +++ b/arch/microblaze/lib/fastcopy.S @@ -29,9 +29,14 @@ * between mem locations with size of xfer spec'd in bytes */ -#include <linux/linkage.h> +#ifdef __MICROBLAZEEL__ +#error Microblaze LE not support ASM optimized lib func. Disable OPT_LIB_ASM. +#endif +#include <linux/linkage.h> + .text .globl memcpy + .type memcpy, @function .ent memcpy memcpy: @@ -345,9 +350,11 @@ a_done: rtsd r15, 8 nop +.size memcpy, . - memcpy .end memcpy /*----------------------------------------------------------------------------*/ .globl memmove + .type memmove, @function .ent memmove memmove: @@ -659,4 +666,5 @@ d_done: rtsd r15, 8 nop +.size memmove, . - memmove .end memmove |
