]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
powerpc: Update comments in preparation for THREAD_INFO_IN_TASK
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 17 Jan 2019 12:25:53 +0000 (23:25 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 23 Feb 2019 11:31:40 +0000 (22:31 +1100)
Update a few comments that talk about current_thread_info() in
preparation for THREAD_INFO_IN_TASK.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Split out of larger patch]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/reg.h
arch/powerpc/kernel/head_32.S
arch/powerpc/kernel/head_44x.S
arch/powerpc/kernel/head_fsl_booke.S

index c25880e6a16afeacc07869884fc39e7a09443a89..c5b2aff0ce8e1b5c5980028de4e0c9965f6069b0 100644 (file)
  *     - SPRG9 debug exception scratch
  *
  * All 32-bit:
- *     - SPRG3 current thread_info pointer
+ *     - SPRG3 current thread_struct physical addr pointer
  *        (virtual on BookE, physical on others)
  *
  * 32-bit classic:
index e07cfd5756d98a331b8bbab533ac5b717b340450..2112805ef1d1e70482d1eddd86d80d511a19e673 100644 (file)
@@ -831,7 +831,7 @@ __secondary_start:
        bl      init_idle_6xx
 #endif /* CONFIG_PPC_BOOK3S_32 */
 
-       /* get current_thread_info and current */
+       /* get current's stack and current */
        lis     r1,secondary_ti@ha
        tophys(r1,r1)
        lwz     r1,secondary_ti@l(r1)
index bf23c19c92d6afecc289317b4dcfcb9b08d752a1..4e8c8bf504139fedce80ef0ebcc40f2843665a1c 100644 (file)
@@ -1019,7 +1019,7 @@ _GLOBAL(start_secondary_47x)
 
        /* Now we can get our task struct and real stack pointer */
 
-       /* Get current_thread_info and current */
+       /* Get current's stack and current */
        lis     r1,secondary_ti@ha
        lwz     r1,secondary_ti@l(r1)
        lwz     r2,TI_TASK(r1)
index 42d8d6fc00cb29e00d20e7ccec745f611b9ac333..6301bb24889a380ccaf130ba40a949be9f02dfe7 100644 (file)
@@ -1091,7 +1091,7 @@ __secondary_start:
        mr      r4,r24          /* Why? */
        bl      call_setup_cpu
 
-       /* get current_thread_info and current */
+       /* get current's stack and current */
        lis     r1,secondary_ti@ha
        lwz     r1,secondary_ti@l(r1)
        lwz     r2,TI_TASK(r1)