arm: smp: skip calibrate_delay on rk platform when boot secondary cpu
author黄涛 <huangtao@rock-chips.com>
Thu, 5 Apr 2012 12:46:24 +0000 (20:46 +0800)
committer黄涛 <huangtao@rock-chips.com>
Thu, 5 Apr 2012 12:46:24 +0000 (20:46 +0800)
arch/arm/kernel/smp.c

index 9739bb8a2d2863bc09c715c1b9ce6316a7780540..2d9fb0a794c06f7a512a3c459e16ce38dc67f796 100644 (file)
@@ -304,7 +304,9 @@ asmlinkage void __cpuinit secondary_start_kernel(void)
 
        notify_cpu_starting(cpu);
 
+#ifndef CONFIG_PLAT_RK
        calibrate_delay();
+#endif
 
        smp_store_cpu_info(cpu);