aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChen Lifu <[email protected]>2022-09-29 12:29:36 +0800
committerAndrew Morton <[email protected]>2022-11-18 13:55:07 -0800
commitf07c647c1f62b3334c2be50b75609ffb20df71d3 (patch)
tree791174511e5fe43a52c240676e6a5f7b5e64e08d
parentcade589fdf697dd4981056c09f83924db8e4e4ed (diff)
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/[email protected] Signed-off-by: Chen Lifu <[email protected]> Signed-off-by: Baoquan He <[email protected]> Acked-by: Baoquan He <[email protected]> Cc: "Eric W . Biederman" <[email protected]> Cc: Petr Mladek <[email protected]> Cc: Russell King <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Jianglei Nie <[email protected]> Cc: Li Chen <[email protected]> Cc: Michael Ellerman <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: ye xingchen <[email protected]> Cc: Zeal Robot <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
-rw-r--r--arch/arm/kernel/machine_kexec.c2
1 files changed, 1 insertions, 1 deletions
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;