1 --- a/arch/arm/mach-cns3xxx/Makefile
2 +++ b/arch/arm/mach-cns3xxx/Makefile
4 obj-$(CONFIG_ARCH_CNS3XXX) += core.o pm.o devices.o
5 obj-$(CONFIG_PCI) += pcie.o
6 obj-$(CONFIG_MACH_CNS3420VB) += cns3420vb.o
7 +obj-$(CONFIG_SMP) += platsmp.o headsmp.o
8 +obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
10 +++ b/arch/arm/Kconfig
11 @@ -367,6 +367,7 @@ config ARCH_CNS3XXX
12 select PCI_DOMAINS if PCI
14 select CPU_CACHE_FORCE_MULTI
17 Support for Cavium Networks CNS3XXX platform.
19 --- a/arch/arm/mach-cns3xxx/core.h
20 +++ b/arch/arm/mach-cns3xxx/core.h
22 #ifndef __CNS3XXX_CORE_H
23 #define __CNS3XXX_CORE_H
25 +extern struct smp_operations cns3xxx_smp_ops;
26 extern struct sys_timer cns3xxx_timer;
28 #ifdef CONFIG_CACHE_L2X0
29 --- a/arch/arm/mach-cns3xxx/laguna.c
30 +++ b/arch/arm/mach-cns3xxx/laguna.c
31 @@ -989,6 +989,7 @@ static int __init laguna_model_setup(voi
32 late_initcall(laguna_model_setup);
34 MACHINE_START(GW2388, "Gateworks Corporation Laguna Platform")
35 + .smp = smp_ops(cns3xxx_smp_ops),
37 .map_io = laguna_map_io,
38 .init_irq = cns3xxx_init_irq,