ARM: tegra: move secondary start kernel message
Jake Park [Tue, 24 Jul 2012 04:59:45 +0000 (13:59 +0900)]
Using printk before CPU online can make hang or kernel panic.

Bug 1017539
Bug 1019700

Signed-off-by: Jake Park <jakep@nvidia.com>
Reviewed-on: http://git-master/r/117924
(cherry picked from commit 9d7426fdc7e8c70079d37f529517932370355ac6)

Change-Id: Ib55ee06dcaf92af63f8d72ee74939c72dda4296c
Reviewed-on: http://git-master/r/118141
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Sang-Hun Lee <sanlee@nvidia.com>
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>

Rebase-Id: Rc623cf4ba3eec321c2916c556c8940c412f9f9dc

arch/arm/kernel/smp.c

index be08596..a26b30a 100644 (file)
@@ -360,6 +360,7 @@ asmlinkage void __cpuinit secondary_start_kernel(void)
         */
        set_cpu_online(cpu, true);
        complete(&cpu_running);
+       printk("CPU%u: Booted secondary processor\n", cpu);
 
        /*
         * Setup the percpu timer for this CPU.