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