ARM: OMAP4+: Remove out of placed smp_wmb() in secondary wakeup code
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Sun, 10 Feb 2013 08:07:04 +0000 (13:37 +0530)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Thu, 28 Mar 2013 07:25:59 +0000 (12:55 +0530)
The smp_wmb() here is out of placed and redundant. So remove it. It is
a left over of the pen_release cleanup mostly.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/mach-omap2/omap-smp.c

index 5d8f2497017edb1755c75424c661fb912c453c3b..1e14899dbbf5df428fcf6f207404df091a505e11 100644 (file)
@@ -186,8 +186,6 @@ static void __init wakeup_secondary(void)
                __raw_writel(virt_to_phys(omap5_secondary_startup),
                                                base + OMAP_AUX_CORE_BOOT_1);
 
-       smp_wmb();
-
        /*
         * Send a 'sev' to wake the secondary core from WFE.
         * Drain the outstanding writes to memory