From: Rob Herring <rob.herring@xxxxxxxxxxx> Resending since the patches didn't make it thru the 1st time. In order to avoid duplicating the same platform code yet again for a new platform, this series consolidates platforms using similar SMP startup code to a common implementation. A new kconfig entry SMP_COMMON_PEN is added for platforms using the common pen functions. OMAP uses a h/w mechansism for its pen, but it seems like it could use the same mechansism. Rob Rob Herring (10): ARM: move Versatile SMP pen code to common location ARM: ux500: convert to use common secondary pen code ARM: msm: use common secondary pen code ARM: add common scu_init_cpus ARM: omap: use common scu_init_cpus ARM: realview: use common scu_init_cpus ARM: vexpress: use common scu_init_cpus ARM: ux500: use common scu_init_cpus ARM: shmobile: use common scu_init_cpus ARM: move set_cpu_present calls to common smp code arch/arm/Kconfig | 8 ++ arch/arm/include/asm/smp.h | 4 + arch/arm/include/asm/smp_scu.h | 1 + arch/arm/kernel/Makefile | 3 +- arch/arm/kernel/headsmp.S | 40 ++++++++++ arch/arm/kernel/smp.c | 4 + arch/arm/kernel/smp_pen.c | 104 +++++++++++++++++++++++++ arch/arm/kernel/smp_scu.c | 19 +++++ arch/arm/mach-msm/Makefile | 2 +- arch/arm/mach-msm/headsmp.S | 40 ---------- arch/arm/mach-msm/platsmp.c | 84 +------------------- arch/arm/mach-omap2/omap-smp.c | 25 +------ arch/arm/mach-realview/include/mach/smp.h | 3 + arch/arm/mach-realview/platsmp.c | 30 +------- arch/arm/mach-shmobile/include/mach/common.h | 2 +- arch/arm/mach-shmobile/platsmp.c | 20 +----- arch/arm/mach-shmobile/smp-sh73a0.c | 6 +- arch/arm/mach-ux500/Kconfig | 1 + arch/arm/mach-ux500/Makefile | 2 +- arch/arm/mach-ux500/headsmp.S | 37 --------- arch/arm/mach-ux500/include/mach/smp.h | 4 +- arch/arm/mach-ux500/platsmp.c | 105 +------------------------- arch/arm/mach-vexpress/ct-ca9x4.c | 9 +-- arch/arm/mach-vexpress/include/mach/smp.h | 3 + arch/arm/mach-vexpress/platsmp.c | 9 +-- arch/arm/plat-versatile/Makefile | 1 - arch/arm/plat-versatile/headsmp.S | 40 ---------- arch/arm/plat-versatile/platsmp.c | 104 ------------------------- 28 files changed, 210 insertions(+), 500 deletions(-) create mode 100644 arch/arm/kernel/headsmp.S create mode 100644 arch/arm/kernel/smp_pen.c delete mode 100644 arch/arm/mach-msm/headsmp.S delete mode 100644 arch/arm/mach-ux500/headsmp.S delete mode 100644 arch/arm/plat-versatile/headsmp.S delete mode 100644 arch/arm/plat-versatile/platsmp.c -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html