xref: /linux/arch/openrisc/include/asm/text-patching.h (revision 1d7cf255eefbb479d0eea9aa3b6372a1e52f8c62)
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