File Index
Files and directories
Sign in
FILE

text-patching.h

File preview with syntax highlighting.

linux-6.19.14/include/linux/text-patching.h C
 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
 8static 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 */
~/ Read-only file preview.