summaryrefslogtreecommitdiff
path: root/target/linux/cns3xxx/patches-3.3/025-smp_support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/cns3xxx/patches-3.3/025-smp_support.patch')
-rw-r--r--target/linux/cns3xxx/patches-3.3/025-smp_support.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/cns3xxx/patches-3.3/025-smp_support.patch b/target/linux/cns3xxx/patches-3.3/025-smp_support.patch
new file mode 100644
index 0000000000..578cbaf35e
--- /dev/null
+++ b/target/linux/cns3xxx/patches-3.3/025-smp_support.patch
@@ -0,0 +1,19 @@
+--- a/arch/arm/mach-cns3xxx/Makefile
++++ b/arch/arm/mach-cns3xxx/Makefile
+@@ -1,3 +1,6 @@
+ obj-$(CONFIG_ARCH_CNS3XXX) += core.o pm.o devices.o
+ obj-$(CONFIG_PCI) += pcie.o
+ obj-$(CONFIG_MACH_CNS3420VB) += cns3420vb.o
++obj-$(CONFIG_SMP) += platsmp.o headsmp.o
++obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o
++obj-$(CONFIG_LOCAL_TIMERS) += localtimer.o
+--- a/arch/arm/Kconfig
++++ b/arch/arm/Kconfig
+@@ -372,6 +372,7 @@ config ARCH_CNS3XXX
+ select MIGHT_HAVE_CACHE_L2X0
+ select MIGHT_HAVE_PCI
+ select PCI_DOMAINS if PCI
++ select HAVE_SMP
+ help
+ Support for Cavium Networks CNS3XXX platform.
+