cns3xxx: use files directory
[openwrt/openwrt.git] / target / linux / cns3xxx / patches-3.3 / 049-cns3xxx_smp_support.patch
1 --- a/arch/arm/mach-cns3xxx/Makefile
2 +++ b/arch/arm/mach-cns3xxx/Makefile
3 @@ -1,3 +1,6 @@
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
9 +obj-$(CONFIG_LOCAL_TIMERS) += localtimer.o
10 --- a/arch/arm/mach-cns3xxx/Kconfig
11 +++ b/arch/arm/mach-cns3xxx/Kconfig
12 @@ -3,6 +3,7 @@ menu "CNS3XXX platform type"
13
14 config MACH_CNS3420VB
15 bool "Support for CNS3420 Validation Board"
16 + select HAVE_ARM_SCU if SMP
17 select MIGHT_HAVE_PCI
18 help
19 Include support for the Cavium Networks CNS3420 MPCore Platform
20 --- a/arch/arm/Kconfig
21 +++ b/arch/arm/Kconfig
22 @@ -373,6 +373,7 @@ config ARCH_CNS3XXX
23 select MIGHT_HAVE_PCI
24 select PCI_DOMAINS if PCI
25 select HAVE_ARM_TWD
26 + select HAVE_SMP
27 help
28 Support for Cavium Networks CNS3XXX platform.
29