blob: 1b5d445859621f972c403ba566fb458a8bf1f1c7 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/* 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
13extern asmlinkage void *memset(void *, int, size_t);
14
15#define __HAVE_ARCH_MEMCPY
16extern asmlinkage void *memcpy(void *, const void *, size_t);
17
18#endif /* _ASM_RISCV_STRING_H */