diff options
| -rw-r--r-- | arch/alpha/lib/memmove.S | 9 | ||||
| -rw-r--r-- | include/asm-alpha/string.h | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/arch/alpha/lib/memmove.S b/arch/alpha/lib/memmove.S index 73aed92537d0..a09e1d13bc6c 100644 --- a/arch/alpha/lib/memmove.S +++ b/arch/alpha/lib/memmove.S @@ -12,6 +12,15 @@ .text .align 4 + .globl bcopy + .ent bcopy +bcopy: + mov $16,$0 + mov $17,$16 + mov $0,$17 + .end bcopy + + .align 4 .globl memmove .ent memmove memmove: diff --git a/include/asm-alpha/string.h b/include/asm-alpha/string.h index 9e44fea669bf..4266af221932 100644 --- a/include/asm-alpha/string.h +++ b/include/asm-alpha/string.h @@ -13,6 +13,7 @@ #define __HAVE_ARCH_MEMCPY extern void * memcpy(void *, const void *, size_t); #define __HAVE_ARCH_MEMMOVE +#define __HAVE_ARCH_BCOPY extern void * memmove(void *, const void *, size_t); /* For backward compatibility with modules. Unused otherwise. */ |
