Fix secondary_data pointer register and document other occurrences in SMP boot code. Signed-off-by: Michał Mirosław <mirq-linux@xxxxxxxxxxxx> --- arch/arm/kernel/head.S | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/kernel/head.S b/arch/arm/kernel/head.S index 04286fd9e09c..68b13db86bef 100644 --- a/arch/arm/kernel/head.S +++ b/arch/arm/kernel/head.S @@ -413,7 +413,7 @@ ENDPROC(secondary_startup) ENDPROC(secondary_startup_arm) /* - * r6 = &secondary_data + * r7 = &secondary_data */ ENTRY(__secondary_switched) ldr sp, [r7, #12] @ get secondary_data.stack @@ -443,6 +443,7 @@ __secondary_data: * r2 = atags or dtb pointer * r4 = TTBR pointer (low word) * r5 = TTBR pointer (high word if LPAE) + * r7 = secondary_data pointer (SMP) * r9 = processor ID * r13 = *virtual* address to jump to upon completion */ @@ -480,6 +481,7 @@ ENDPROC(__enable_mmu) * r0 = cp#15 control register * r1 = machine ID * r2 = atags or dtb pointer + * r7 = secondary_data pointer (SMP) * r9 = processor ID * r13 = *virtual* address to jump to upon completion * -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html