]> git.baikalelectronics.ru Git - kernel.git/commitdiff
powerpc/stacktrace: Include linux/delay.h
authorMichal Suchanek <msuchanek@suse.de>
Thu, 29 Jul 2021 18:01:03 +0000 (20:01 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 3 Aug 2021 12:33:37 +0000 (22:33 +1000)
commit 07e7fdc30d5f ("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: 07e7fdc30d5f ("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
arch/powerpc/kernel/stacktrace.c

index 2b0d04a1b7d2d8caaf896c153fbd9316ea016b4d..9e4a4a7af380c2775f3457e5775ccc640b74811c 100644 (file)
@@ -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>