WIP FPC-III support
[linux/fpc-iii.git] / arch / riscv / include / asm / patch.h
blob9a7d7346001ee249678a1a5c28f1de09a758d2ab
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2020 SiFive
4 */
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 */