From f07c647c1f62b3334c2be50b75609ffb20df71d3 Mon Sep 17 00:00:00 2001 From: Chen Lifu Date: Thu, 29 Sep 2022 12:29:36 +0800 Subject: ARM: kexec: make machine_crash_nonpanic_core() static This symbol is not used outside of the file, so mark it static. Fixes the following warning: arch/arm/kernel/machine_kexec.c:76:6: warning: symbol 'machine_crash_nonpanic_core' was not declared. Should it be static? Link: https://lkml.kernel.org/r/20220929042936.22012-5-bhe@redhat.com Signed-off-by: Chen Lifu Signed-off-by: Baoquan He Acked-by: Baoquan He Cc: "Eric W . Biederman" Cc: Petr Mladek Cc: Russell King Cc: Benjamin Herrenschmidt Cc: Jianglei Nie Cc: Li Chen Cc: Michael Ellerman Cc: Paul Mackerras Cc: ye xingchen Cc: Zeal Robot Signed-off-by: Andrew Morton --- arch/arm/kernel/machine_kexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/arm/kernel/machine_kexec.c') diff --git a/arch/arm/kernel/machine_kexec.c b/arch/arm/kernel/machine_kexec.c index f567032a09c0..a2e9ac763a9f 100644 --- a/arch/arm/kernel/machine_kexec.c +++ b/arch/arm/kernel/machine_kexec.c @@ -73,7 +73,7 @@ void machine_kexec_cleanup(struct kimage *image) { } -void machine_crash_nonpanic_core(void *unused) +static void machine_crash_nonpanic_core(void *unused) { struct pt_regs regs; -- cgit v1.2.3