David Brazdil | 0f672f6 | 2019-12-10 10:32:29 +0000 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2013 Regents of the University of California |
Andrew Scull | b4b6d4a | 2019-01-02 15:54:55 +0000 | [diff] [blame] | 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 */ |