summaryrefslogtreecommitdiff
path: root/include/linux/text-patching.h
blob: ad5877ab085582574dfe2ed8a8f2bd6c7d67bf10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_TEXT_PATCHING_H
#define _LINUX_TEXT_PATCHING_H

#include <asm/text-patching.h>

#ifndef text_poke_copy
static inline void *text_poke_copy(void *dst, const void *src, size_t len)
{
	return memcpy(dst, src, len);
}
#define text_poke_copy text_poke_copy
#endif

#endif /* _LINUX_TEXT_PATCHING_H */