aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2021-07-29 20:01:03 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2021-08-03 22:33:37 +1000
commita6cae77f1bc89368a4e2822afcddc45c3062d499 (patch)
tree014be07351f24914397d428bf37db5376fdcac3f
parentcpuidle: pseries: Do not cap the CEDE0 latency in fixup_cede0_latency() (diff)
downloadlinux-dev-a6cae77f1bc89368a4e2822afcddc45c3062d499.tar.xz
linux-dev-a6cae77f1bc89368a4e2822afcddc45c3062d499.zip
powerpc/stacktrace: Include linux/delay.h
commit 7c6986ade69e ("powerpc/stacktrace: Fix spurious "stale" traces in raise_backtrace_ipi()") introduces udelay() call without including the linux/delay.h header. This may happen to work on master but the header that declares the functionshould be included nonetheless. Fixes: 7c6986ade69e ("powerpc/stacktrace: Fix spurious "stale" traces in raise_backtrace_ipi()") Signed-off-by: Michal Suchanek <msuchanek@suse.de> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210729180103.15578-1-msuchanek@suse.de
-rw-r--r--arch/powerpc/kernel/stacktrace.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/stacktrace.c b/arch/powerpc/kernel/stacktrace.c
index 2b0d04a1b7d2..9e4a4a7af380 100644
--- a/arch/powerpc/kernel/stacktrace.c
+++ b/arch/powerpc/kernel/stacktrace.c
@@ -8,6 +8,7 @@
* Copyright 2018 Nick Piggin, Michael Ellerman, IBM Corp.
*/
+#include <linux/delay.h>
#include <linux/export.h>
#include <linux/kallsyms.h>
#include <linux/module.h>