summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/smp.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/smp.c
parentea6976483fb0ced259fbaa9e4f68a2cdcee7e312 (diff)
downloadop-kernel-dev-a7e6601f70a53957b1d01c321319f0237bba5202.zip
op-kernel-dev-a7e6601f70a53957b1d01c321319f0237bba5202.tar.gz
parisc: Move init_per_cpu() into init section
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/smp.c')
-rw-r--r--arch/parisc/kernel/smp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/parisc/kernel/smp.c b/arch/parisc/kernel/smp.c
index 6336510..30c28ab 100644
--- a/arch/parisc/kernel/smp.c
+++ b/arch/parisc/kernel/smp.c
@@ -255,12 +255,11 @@ void arch_send_call_function_single_ipi(int cpu)
static void __init
smp_cpu_init(int cpunum)
{
- extern int init_per_cpu(int); /* arch/parisc/kernel/processor.c */
extern void init_IRQ(void); /* arch/parisc/kernel/irq.c */
extern void start_cpu_itimer(void); /* arch/parisc/kernel/time.c */
/* Set modes and Enable floating point coprocessor */
- (void) init_per_cpu(cpunum);
+ init_per_cpu(cpunum);
disable_sr_hashing();
OpenPOWER on IntegriCloud