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