25 lines
404 B
ArmAsm
Raw Normal View History

2026-01-21 18:59:54 +08:00
/* SPDX-License-Identifier: GPL-2.0 */
#include <asm/export.h>
2026-01-29 22:25:33 +08:00
#define FIXUP_LDST(x, y) \
x, y
2026-01-21 18:59:54 +08:00
.globl memcpy
.ent memcpy
memcpy:
.frame $30, 0, $26, 0
.prologue 0
mov $16, $0
2026-01-29 22:25:33 +08:00
#if defined(CONFIG_SUBARCH_C3B)
#include "deep-copy_template.S"
#elif defined(CONFIG_SUBARCH_C4)
#include "deep-copy_template_c4.S"
#endif
2026-01-21 18:59:54 +08:00
$out:
2026-01-29 22:25:33 +08:00
ret
2026-01-21 18:59:54 +08:00
.end memcpy
EXPORT_SYMBOL(memcpy)
__memcpy = memcpy
.globl __memcpy