consolidate spin_lock/unlock waiting with spin_unlock_wait
PATCH 1/6 consolidate spin_lock/unlock waiting with spin_unlock_wait
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 <[email protected]>
CC Mike Frysinger <[email protected]>
Signed-off-by Nicholas Mc Guire <[email protected]>
--- arch/blackfin/mach-bf561/smp.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
arch/blackfin/mach-bf561/smp.c +1 -2
@@ -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)
Signature · 1 line
1.7.2.5