Loading arch/arm/mach-msm/headsmp.S +6 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,8 @@ #include <linux/linkage.h> #include <linux/init.h> .arm __CPUINIT /* Loading @@ -20,6 +22,10 @@ __CPUINIT * This is executing in physical space with cache's off. */ ENTRY(msm_secondary_startup) THUMB( adr r9, BSYM(2f) ) @ Kernel is always entered in ARM. THUMB( bx r9 ) @ If this is a Thumb-2 kernel, THUMB( .thumb ) @ switch to Thumb now. THUMB(2: ) mrc p15, 0, r0, c0, c0, 5 @ MPIDR and r0, r0, #15 @ What CPU am I adr r4, 1f @ address of Loading arch/arm/mach-msm/idle-v7.S +6 −0 Original line number Diff line number Diff line Loading @@ -436,7 +436,13 @@ msm_pm_pa_to_va: 1: b 1b ENDPROC(msm_pm_collapse_exit) .arm ENTRY(msm_pm_boot_entry) THUMB( adr r9, BSYM(2f) ) /* Kernel is always entered in ARM. */ THUMB( bx r9 ) /* If this is a Thumb-2 kernel, */ THUMB( .thumb ) /* switch to Thumb now. */ THUMB(2: ) mrc p15, 0, r0, c0, c0, 5 /* MPIDR */ and r0, r0, #15 /* what CPU am I */ Loading Loading
arch/arm/mach-msm/headsmp.S +6 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,8 @@ #include <linux/linkage.h> #include <linux/init.h> .arm __CPUINIT /* Loading @@ -20,6 +22,10 @@ __CPUINIT * This is executing in physical space with cache's off. */ ENTRY(msm_secondary_startup) THUMB( adr r9, BSYM(2f) ) @ Kernel is always entered in ARM. THUMB( bx r9 ) @ If this is a Thumb-2 kernel, THUMB( .thumb ) @ switch to Thumb now. THUMB(2: ) mrc p15, 0, r0, c0, c0, 5 @ MPIDR and r0, r0, #15 @ What CPU am I adr r4, 1f @ address of Loading
arch/arm/mach-msm/idle-v7.S +6 −0 Original line number Diff line number Diff line Loading @@ -436,7 +436,13 @@ msm_pm_pa_to_va: 1: b 1b ENDPROC(msm_pm_collapse_exit) .arm ENTRY(msm_pm_boot_entry) THUMB( adr r9, BSYM(2f) ) /* Kernel is always entered in ARM. */ THUMB( bx r9 ) /* If this is a Thumb-2 kernel, */ THUMB( .thumb ) /* switch to Thumb now. */ THUMB(2: ) mrc p15, 0, r0, c0, c0, 5 /* MPIDR */ and r0, r0, #15 /* what CPU am I */ Loading