diff options
author | Max Filippov | 2023-06-08 21:36:37 -0700 |
---|---|---|
committer | Max Filippov | 2023-06-12 19:48:57 -0700 |
commit | e7cb083891e42493d07e9e597f837ff622f892ea (patch) | |
tree | b1eab7234af1f5a47f7cd9c34660534ccba6904c /arch/xtensa | |
parent | f8b09d4524125163b9db47e831f398d7c6f8b22c (diff) |
xtensa: drop bcopy implementation
bcopy is not exported and there's no in-tree users of this function.
Drop it.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa')
-rw-r--r-- | arch/xtensa/include/asm/string.h | 3 | ||||
-rw-r--r-- | arch/xtensa/lib/memcopy.S | 15 |
2 files changed, 0 insertions, 18 deletions
diff --git a/arch/xtensa/include/asm/string.h b/arch/xtensa/include/asm/string.h index 89b51a0c752f..ffce43513fa2 100644 --- a/arch/xtensa/include/asm/string.h +++ b/arch/xtensa/include/asm/string.h @@ -118,9 +118,6 @@ extern void *__memcpy(void *__to, __const__ void *__from, size_t __n); extern void *memmove(void *__dest, __const__ void *__src, size_t __n); extern void *__memmove(void *__dest, __const__ void *__src, size_t __n); -/* Don't build bcopy at all ... */ -#define __HAVE_ARCH_BCOPY - #if defined(CONFIG_KASAN) && !defined(__SANITIZE_ADDRESS__) /* diff --git a/arch/xtensa/lib/memcopy.S b/arch/xtensa/lib/memcopy.S index b20d206bcb71..98c3662bed8c 100644 --- a/arch/xtensa/lib/memcopy.S +++ b/arch/xtensa/lib/memcopy.S @@ -275,21 +275,6 @@ WEAK(memcpy) ENDPROC(__memcpy) /* - * void bcopy(const void *src, void *dest, size_t n); - */ - -ENTRY(bcopy) - - abi_entry_default - # a2=src, a3=dst, a4=len - mov a5, a3 - mov a3, a2 - mov a2, a5 - j .Lmovecommon # go to common code for memmove+bcopy - -ENDPROC(bcopy) - -/* * void *memmove(void *dst, const void *src, size_t len); * * This function is intended to do the same thing as the standard |