diff options
| author | 2021-01-04 15:31:51 +0100 | |
|---|---|---|
| committer | 2021-01-30 11:39:29 +1100 | |
| commit | cd7aa5d2fae11794a00ea34b10ee58434d718bc3 (patch) | |
| tree | 75205ffb14f8df6b0ae7b80e8e6e2d0ffd2cd7ff /arch/powerpc/kernel/smp.c | |
| parent | powerpc/mce: Include prototypes (diff) | |
| download | linux-dev-cd7aa5d2fae11794a00ea34b10ee58434d718bc3.tar.xz linux-dev-cd7aa5d2fae11794a00ea34b10ee58434d718bc3.zip | |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index 9e2246e80efd..a96d90d7c442 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> |
