aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/smp.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2021-01-04 15:31:51 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2021-01-30 11:39:29 +1100
commitcd7aa5d2fae11794a00ea34b10ee58434d718bc3 (patch)
tree75205ffb14f8df6b0ae7b80e8e6e2d0ffd2cd7ff /arch/powerpc/kernel/smp.c
parent1cc2fd75934454be024cd7609b6d7890de6e724b (diff)
downloadlinux-cd7aa5d2fae11794a00ea34b10ee58434d718bc3.tar.gz
powerpc/smp: Include tick_broadcast() prototype
It fixes this W=1 compile error : ../arch/powerpc/kernel/smp.c:569:6: error: no previous prototype for ‘tick_broadcast’ [-Werror=missing-prototypes] 569 | void tick_broadcast(const struct cpumask *mask) | ^~~~~~~~~~~~~~ Signed-off-by: Cédric Le Goater <clg@kaod.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210104143206.695198-9-clg@kaod.org
Diffstat (limited to 'arch/powerpc/kernel/smp.c')
-rw-r--r--arch/powerpc/kernel/smp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c
index 9e2246e80efd6c..a96d90d7c4429f 100644
--- a/arch/powerpc/kernel/smp.c
+++ b/arch/powerpc/kernel/smp.c
@@ -34,6 +34,7 @@
#include <linux/random.h>
#include <linux/stackprotector.h>
#include <linux/pgtable.h>
+#include <linux/clockchips.h>
#include <asm/ptrace.h>
#include <linux/atomic.h>