xref: /linux/arch/openrisc/include/asm/text-patching.h (revision 8a7c601e14576a22c2bbf7f67455ccf3f3d2737f)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Copyright (C) 2025 Chen Miao
4  */
5 
6 #ifndef _ASM_OPENRISC_PATCHING_H
7 #define _ASM_OPENRISC_PATCHING_H
8 
9 #include <linux/types.h>
10 
11 int patch_insn_write(void *addr, u32 insn);
12 
13 #endif /* _ASM_OPENRISC_PATCHING_H */
14