blob: 1b5d445859621f972c403ba566fb458a8bf1f1c7 [file] [log] [blame]
David Brazdil0f672f62019-12-10 10:32:29 +00001/* SPDX-License-Identifier: GPL-2.0-only */
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00002/*
3 * Copyright (C) 2013 Regents of the University of California
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00004 */
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 */