1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _LINUX_TEXT_PATCHING_H
3 #define _LINUX_TEXT_PATCHING_H
4 
5 #include <asm/text-patching.h>
6 
7 #ifndef text_poke_copy
text_poke_copy(void * dst,const void * src,size_t len)8 static inline void *text_poke_copy(void *dst, const void *src, size_t len)
9 {
10 	return memcpy(dst, src, len);
11 }
12 #define text_poke_copy text_poke_copy
13 #endif
14 
15 #endif /* _LINUX_TEXT_PATCHING_H */
16