Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: ff6992735ade75aae3e35d16b17da1008d753d28 authored by Linus Torvalds on 17 July 2022, 20:30:22 UTC
Linux 5.19-rc7
Tip revision: ff69927
patch.h
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Copyright (C) 2020 SiFive
 */

#ifndef _ASM_RISCV_PATCH_H
#define _ASM_RISCV_PATCH_H

int patch_text_nosync(void *addr, const void *insns, size_t len);
int patch_text(void *addr, u32 insn);

#endif /* _ASM_RISCV_PATCH_H */
back to top