diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-11-27 16:24:32 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-11-27 16:24:32 +0000 |
commit | 4c369cdb9df368e62c088380f5bb02057c584e58 (patch) | |
tree | 3d25051a834952d4f3b4cef11e972aa86ddcf173 /target/linux/cns3xxx/patches-3.18/025-smp_support.patch | |
parent | 41fb5fcd1f747594b96174d8695980a8a3974275 (diff) | |
download | upstream-4c369cdb9df368e62c088380f5bb02057c584e58.tar.gz upstream-4c369cdb9df368e62c088380f5bb02057c584e58.tar.bz2 upstream-4c369cdb9df368e62c088380f5bb02057c584e58.zip |
cns3xxx: add experimental 3.18 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43406 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/cns3xxx/patches-3.18/025-smp_support.patch')
-rw-r--r-- | target/linux/cns3xxx/patches-3.18/025-smp_support.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/target/linux/cns3xxx/patches-3.18/025-smp_support.patch b/target/linux/cns3xxx/patches-3.18/025-smp_support.patch new file mode 100644 index 0000000000..418c065a97 --- /dev/null +++ b/target/linux/cns3xxx/patches-3.18/025-smp_support.patch @@ -0,0 +1,30 @@ +--- a/arch/arm/mach-cns3xxx/Makefile ++++ b/arch/arm/mach-cns3xxx/Makefile +@@ -5,3 +5,5 @@ cns3xxx-y += core.o pm.o + cns3xxx-$(CONFIG_ATAGS) += devices.o + cns3xxx-$(CONFIG_PCI) += pcie.o + cns3xxx-$(CONFIG_MACH_CNS3420VB) += cns3420vb.o ++cns3xxx-$(CONFIG_SMP) += platsmp.o headsmp.o ++cns3xxx-$(CONFIG_HOTPLUG_CPU) += hotplug.o +--- a/arch/arm/mach-cns3xxx/Kconfig ++++ b/arch/arm/mach-cns3xxx/Kconfig +@@ -2,6 +2,9 @@ menuconfig ARCH_CNS3XXX + bool "Cavium Networks CNS3XXX family" if ARCH_MULTI_V6 + select ARM_GIC + select PCI_DOMAINS if PCI ++ select HAVE_ARM_SCU if SMP ++ select HAVE_ARM_TWD if LOCAL_TIMERS ++ select HAVE_SMP + help + Support for Cavium Networks CNS3XXX platform. + +--- a/arch/arm/mach-cns3xxx/core.h ++++ b/arch/arm/mach-cns3xxx/core.h +@@ -13,6 +13,7 @@ + + #include <linux/reboot.h> + ++extern struct smp_operations cns3xxx_smp_ops; + extern void cns3xxx_timer_init(void); + + #ifdef CONFIG_CACHE_L2X0 |