Skip to content

Commit

Permalink
OMAP4: Remove the secondary wait loop
Browse files Browse the repository at this point in the history
The secondary cores wakes up in time so the wait loop is not
necessary anymore.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Santosh Shilimkar authored and Tony Lindgren committed Dec 12, 2009
1 parent 942e2c9 commit b2f5c94
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions arch/arm/mach-omap2/omap-smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
#include <linux/init.h>
#include <linux/device.h>
#include <linux/jiffies.h>
#include <linux/smp.h>
#include <linux/io.h>

Expand Down Expand Up @@ -62,8 +61,6 @@ void __cpuinit platform_secondary_init(unsigned int cpu)

int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle)
{
unsigned long timeout;

/*
* Set synchronisation state between this boot processor
* and the secondary one
Expand All @@ -80,10 +77,6 @@ int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle)
flush_cache_all();
smp_wmb();

timeout = jiffies + (1 * HZ);
while (time_before(jiffies, timeout))
;

/*
* Now the secondary core is starting up let it run its
* calibrations, then wait for it to finish
Expand Down

0 comments on commit b2f5c94

Please sign in to comment.