18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved.
48c2ecf20Sopenharmony_ci */
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ci#ifndef _ASM_STRING_H_
78c2ecf20Sopenharmony_ci#define _ASM_STRING_H_
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#ifdef __KERNEL__
108c2ecf20Sopenharmony_ci#define __HAVE_ARCH_MEMCPY
118c2ecf20Sopenharmony_ciextern void *memcpy(void *__to, __const__ void *__from, size_t __n);
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci/*  ToDo:  use dczeroa, accelerate the compiler-constant zero case  */
148c2ecf20Sopenharmony_ci#define __HAVE_ARCH_MEMSET
158c2ecf20Sopenharmony_ciextern void *memset(void *__to, int c, size_t __n);
168c2ecf20Sopenharmony_ci#endif
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci#endif /* _ASM_STRING_H_ */
20