blackfin BF561: consolidate spin_lock/unlock waiting with spin_unlock_wait() config: defconfig -> changed processor to BF561 toolchain: blackfin-toolchain-elf-gcc-4.1-09r1-10 Builds smp.o without warnings. No runtime check (no hardware available) CC: Philippe Gerum <rpm@xxxxxxxxxxx> CC: Mike Frysinger <vapier@xxxxxxxxxx> Signed-off-by: Nicholas Mc Guire <der.herr@xxxxxxx> --- arch/blackfin/mach-bf561/smp.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/blackfin/mach-bf561/smp.c b/arch/blackfin/mach-bf561/smp.c index 11789be..463d839 100644 --- a/arch/blackfin/mach-bf561/smp.c +++ b/arch/blackfin/mach-bf561/smp.c @@ -69,8 +69,7 @@ void platform_secondary_init(unsigned int cpu) SSYNC(); /* We are done with local CPU inits, unblock the boot CPU. */ - spin_lock(&boot_lock); - spin_unlock(&boot_lock); + spin_unlock_wait(&boot_lock); } int platform_boot_secondary(unsigned int cpu, struct task_struct *idle) -- 1.7.2.5 -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html