b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
2 | /* | ||||
3 | * Copyright (C) 2013 Regents of the University of California | ||||
4 | */ | ||||
5 | |||||
6 | #ifndef _ASM_RISCV_STRING_H | ||||
7 | #define _ASM_RISCV_STRING_H | ||||
8 | |||||
9 | #include <linux/types.h> | ||||
10 | #include <linux/linkage.h> | ||||
11 | |||||
12 | #define __HAVE_ARCH_MEMSET | ||||
13 | extern asmlinkage void *memset(void *, int, size_t); | ||||
14 | |||||
15 | #define __HAVE_ARCH_MEMCPY | ||||
16 | extern asmlinkage void *memcpy(void *, const void *, size_t); | ||||
17 | |||||
18 | #endif /* _ASM_RISCV_STRING_H */ |