summaryrefslogtreecommitdiffstats
path: root/crypto/lz4hc.c
diff options
context:
space:
mode:
authorYouling Tang <tangyouling@loongson.cn>2023-05-01 17:19:52 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2023-05-01 17:19:52 +0800
commit819cf65575230bca02ad669daadba2ac04187ae1 (patch)
tree553290665ee5f81d39660467eb004451613afe6a /crypto/lz4hc.c
parent6fbff14a638293dcd0550cac2921f308ef6abe0e (diff)
downloadlinux-stable-819cf65575230bca02ad669daadba2ac04187ae1.tar.gz
linux-stable-819cf65575230bca02ad669daadba2ac04187ae1.tar.bz2
linux-stable-819cf65575230bca02ad669daadba2ac04187ae1.zip
LoongArch: ftrace: Fix build error if DYNAMIC_FTRACE_WITH_REGS is not set
We can see the following build error if CONFIG_DYNAMIC_FTRACE_WITH_REGS is not set on LoongArch: arch/loongarch/kernel/ftrace_dyn.c: In function ‘ftrace_make_call’: arch/loongarch/kernel/ftrace_dyn.c:167:23: error: implicit declaration of function ‘__get_mod’ 167 | ret = __get_mod(&mod, pc); | ^~~~~~~~~ arch/loongarch/kernel/ftrace_dyn.c:171:24: error: implicit declaration of function ‘get_plt_addr’ 171 | addr = get_plt_addr(mod, addr); | ^~~~~~~~~~~~ The reason is that the __get_mod() and get_plt_addr() may be called in ftrace_make_{call,nop}. Signed-off-by: Youling Tang <tangyouling@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'crypto/lz4hc.c')
0 files changed, 0 insertions, 0 deletions