summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/patch.h
diff options
context:
space:
mode:
authorZong Li <zong.li@sifive.com>2020-04-21 15:29:59 +0800
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-05-18 11:38:13 -0700
commitb80b3d582ebd8c7c49687319b3c624e03c4b2b93 (patch)
treefce77fbc571387553021d8528416e0e17d446588 /arch/riscv/include/asm/patch.h
parentedde5584c7ab5d18b87f092fe6fe8a72590e7100 (diff)
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.h4
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 */