From: Nanyong Sun Date: Fri, 5 Mar 2021 11:33:30 +0000 (+0800) Subject: riscv: process: Fix no prototype for show_regs X-Git-Tag: v5.12-rc4~11^2~9 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=86b276c1ddedfbcc0be708e73d82ce1fb2298768;p=linux-block.git riscv: process: Fix no prototype for show_regs Include header file to fix the following W=1 compilation warning: arch/riscv/kernel/process.c:78:6: warning: no previous prototype for ‘show_regs’ [-Wmissing-prototypes] 78 | void show_regs(struct pt_regs *regs) | ^~~~~~~~~ Reported-by: Hulk Robot Signed-off-by: Nanyong Sun Signed-off-by: Palmer Dabbelt --- diff --git a/arch/riscv/kernel/process.c b/arch/riscv/kernel/process.c index 6f728e731bed..f9cd57c9c67d 100644 --- a/arch/riscv/kernel/process.c +++ b/arch/riscv/kernel/process.c @@ -10,6 +10,7 @@ #include #include #include +#include #include #include #include