1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2020 SiFive
6 #ifndef _ASM_RISCV_PATCH_H
7 #define _ASM_RISCV_PATCH_H
9 int patch_text_nosync(void *addr
, const void *insns
, size_t len
);
10 int patch_text(void *addr
, u32 insn
);
12 #endif /* _ASM_RISCV_PATCH_H */