Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

-18
-3
arch/xtensa/include/asm/string.h
··· 118 118 extern void *memmove(void *__dest, __const__ void *__src, size_t __n); 119 119 extern void *__memmove(void *__dest, __const__ void *__src, size_t __n); 120 120 121 - /* Don't build bcopy at all ... */ 122 - #define __HAVE_ARCH_BCOPY 123 - 124 121 #if defined(CONFIG_KASAN) && !defined(__SANITIZE_ADDRESS__) 125 122 126 123 /*
-15
arch/xtensa/lib/memcopy.S
··· 275 275 ENDPROC(__memcpy) 276 276 277 277 /* 278 - * void bcopy(const void *src, void *dest, size_t n); 279 - */ 280 - 281 - ENTRY(bcopy) 282 - 283 - abi_entry_default 284 - # a2=src, a3=dst, a4=len 285 - mov a5, a3 286 - mov a3, a2 287 - mov a2, a5 288 - j .Lmovecommon # go to common code for memmove+bcopy 289 - 290 - ENDPROC(bcopy) 291 - 292 - /* 293 278 * void *memmove(void *dst, const void *src, size_t len); 294 279 * 295 280 * This function is intended to do the same thing as the standard