diff options
author | Zong Li <zong.li@sifive.com> | 2020-04-21 15:29:59 +0800 |
---|---|---|
committer | Palmer Dabbelt <palmerdabbelt@google.com> | 2020-05-18 11:38:13 -0700 |
commit | b80b3d582ebd8c7c49687319b3c624e03c4b2b93 (patch) | |
tree | fce77fbc571387553021d8528416e0e17d446588 /arch/riscv/include/asm/patch.h | |
parent | edde5584c7ab5d18b87f092fe6fe8a72590e7100 (diff) | |
download | linux-b80b3d582ebd8c7c49687319b3c624e03c4b2b93.tar.gz linux-b80b3d582ebd8c7c49687319b3c624e03c4b2b93.tar.bz2 linux-b80b3d582ebd8c7c49687319b3c624e03c4b2b93.zip |
riscv: Remove the 'riscv_' prefix of function name
Refactor the function name by removing the 'riscv_' prefix, it would be
better unless it could mix up with arch-independent functions.
Signed-off-by: Zong Li <zong.li@sifive.com>
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Reviewed-by: Palmer Dabbelt <palmerdabbelt@google.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'arch/riscv/include/asm/patch.h')
-rw-r--r-- | arch/riscv/include/asm/patch.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/riscv/include/asm/patch.h b/arch/riscv/include/asm/patch.h index b5918a6e0615..9a7d7346001e 100644 --- a/arch/riscv/include/asm/patch.h +++ b/arch/riscv/include/asm/patch.h @@ -6,7 +6,7 @@ #ifndef _ASM_RISCV_PATCH_H #define _ASM_RISCV_PATCH_H -int riscv_patch_text_nosync(void *addr, const void *insns, size_t len); -int riscv_patch_text(void *addr, u32 insn); +int patch_text_nosync(void *addr, const void *insns, size_t len); +int patch_text(void *addr, u32 insn); #endif /* _ASM_RISCV_PATCH_H */ |