summaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/setup.c
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-09-21 21:22:27 +0200
committerHelge Deller <deller@gmx.de>2017-09-22 19:47:08 +0200
commita7e6601f70a53957b1d01c321319f0237bba5202 (patch)
treefd661afb009f4275806a7303914d48ba912805c8 /arch/parisc/kernel/setup.c
parentea6976483fb0ced259fbaa9e4f68a2cdcee7e312 (diff)
downloadlwn-a7e6601f70a53957b1d01c321319f0237bba5202.tar.gz
lwn-a7e6601f70a53957b1d01c321319f0237bba5202.zip
parisc: Move init_per_cpu() into init section
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/setup.c')
-rw-r--r--arch/parisc/kernel/setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/setup.c b/arch/parisc/kernel/setup.c
index a31e91c1782b..f7d0c3b33d70 100644
--- a/arch/parisc/kernel/setup.c
+++ b/arch/parisc/kernel/setup.c
@@ -49,6 +49,7 @@
#include <asm/io.h>
#include <asm/setup.h>
#include <asm/unwind.h>
+#include <asm/smp.h>
static char __initdata command_line[COMMAND_LINE_SIZE];
@@ -116,7 +117,6 @@ void __init dma_ops_init(void)
}
#endif
-extern int init_per_cpu(int cpuid);
extern void collect_boot_cpu_data(void);
void __init setup_arch(char **cmdline_p)