microblaze: Use simple memmove/memcpy implementation from lib/string.c
authorMichal Simek <michal.simek@xilinx.com>
Fri, 25 Feb 2022 13:55:36 +0000 (14:55 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 21 Apr 2022 08:54:21 +0000 (10:54 +0200)
commit61a4e653cabd7d9e4a9e940d0786532725e73c0d
tree9dda516e5e50cd3cd10b789f954574b82b7649b7
parent95fee37be45f443a8a322ee7f6f78167b73f2abc
microblaze: Use simple memmove/memcpy implementation from lib/string.c

This is based on previous commit ("microblaze: Use simple memset
implementation from lib/string.c") where generic memset implementation is
used when OPT_LIB_FUNCTION is not defined. The same change can be done for
memset/memcpy implementation where doesn't make sense to have generic
implementation in architecture code.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Link: https://lore.kernel.org/r/1f5cfc026a8a458f3e3134ab80f65bd4ac7e3e8e.1645797329.git.michal.simek@xilinx.com
arch/microblaze/include/asm/string.h
arch/microblaze/lib/memcpy.c
arch/microblaze/lib/memmove.c