1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* memmove.S: Simple memmove implementation.
4 * Copyright (C) 1997, 2004 David S. Miller (davem@redhat.com)
5 * Copyright (C) 1996, 1997, 1998, 1999 Jakub Jelinek (jj@ultra.linux.cz)
8 #include <linux/linkage.h>
9 #include <asm/export.h>
12 ENTRY(memmove) /* o0=dst o1=src o2=len */
35 /* We can't just call memcpy for these memmove cases. On some
36 * chips the memcpy uses cache initializing stores and when dst
37 * and src are close enough, those can clobber the source data
38 * before we've loaded it in.
62 EXPORT_SYMBOL(memmove)