blob: 5972cca7962982a7e2a7cbf0945f30c12f17973c [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) 2010-2011, The Linux Foundation. All rights reserved.
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00004 */
5
6#ifndef _ASM_STRING_H_
7#define _ASM_STRING_H_
8
9#ifdef __KERNEL__
10#define __HAVE_ARCH_MEMCPY
11extern void *memcpy(void *__to, __const__ void *__from, size_t __n);
12
13/* ToDo: use dczeroa, accelerate the compiler-constant zero case */
14#define __HAVE_ARCH_MEMSET
15extern void *memset(void *__to, int c, size_t __n);
16#endif
17
18
19#endif /* _ASM_STRING_H_ */