aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@ti.com>2009-12-11 19:16:35 -0500
committerTony Lindgren <tony@atomide.com>2009-12-11 19:16:35 -0500
commitb2f5c9413cc54000706959fa710c21b2d90a647c (patch)
treea03581dbcaebb66d66cb15f0c817b231be8e6fdd /arch/arm/mach-omap2
parent942e2c9e529a57ce2bb1cf984d58f88d9b6e77e5 (diff)
OMAP4: Remove the secondary wait loop
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>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/omap-smp.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-omap2/omap-smp.c b/arch/arm/mach-omap2/omap-smp.c
index 59e847843af5..38153e5fbca0 100644
--- a/arch/arm/mach-omap2/omap-smp.c
+++ b/arch/arm/mach-omap2/omap-smp.c
@@ -17,7 +17,6 @@
17 */ 17 */
18#include <linux/init.h> 18#include <linux/init.h>
19#include <linux/device.h> 19#include <linux/device.h>
20#include <linux/jiffies.h>
21#include <linux/smp.h> 20#include <linux/smp.h>
22#include <linux/io.h> 21#include <linux/io.h>
23 22
@@ -62,8 +61,6 @@ void __cpuinit platform_secondary_init(unsigned int cpu)
62 61
63int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle) 62int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle)
64{ 63{
65 unsigned long timeout;
66
67 /* 64 /*
68 * Set synchronisation state between this boot processor 65 * Set synchronisation state between this boot processor
69 * and the secondary one 66 * and the secondary one
@@ -80,10 +77,6 @@ int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle)
80 flush_cache_all(); 77 flush_cache_all();
81 smp_wmb(); 78 smp_wmb();
82 79
83 timeout = jiffies + (1 * HZ);
84 while (time_before(jiffies, timeout))
85 ;
86
87 /* 80 /*
88 * Now the secondary core is starting up let it run its 81 * Now the secondary core is starting up let it run its
89 * calibrations, then wait for it to finish 82 * calibrations, then wait for it to finish