]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
parisc: processor: Include asm/smp.h for init_per_cpu()
authorHelge Deller <deller@gmx.de>
Thu, 10 Aug 2023 20:32:24 +0000 (22:32 +0200)
committerHelge Deller <deller@gmx.de>
Thu, 10 Aug 2023 20:32:24 +0000 (22:32 +0200)
Fix sparse warning that init_per_cpu() isn't declared.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/processor.c

index 00b0df97afb1455287103c8590a0e987875ef17b..762289b9984ea32d0e6006101d8296dfad7d24b8 100644 (file)
@@ -26,6 +26,7 @@
 #include <asm/processor.h>
 #include <asm/page.h>
 #include <asm/pdc.h>
+#include <asm/smp.h>
 #include <asm/pdcpat.h>
 #include <asm/irq.h>           /* for struct irq_region */
 #include <asm/parisc-device.h>