powerpc: 'current_set' is now a table of task_struct pointers
The table of pointers 'current_set' has been used for retrieving the stack and current. They used to be thread_info pointers as they were pointing to the stack and current was taken from the 'task' field of the thread_info. Now, the pointers of 'current_set' table are now both pointers to task_struct and pointers to thread_info. As they are used to get current, and the stack pointer is retrieved from current's stack field, this patch changes their type to task_struct, and renames secondary_ti to secondary_current. Reviewed-by:Nicholas Piggin <npiggin@gmail.com> Signed-off-by:
Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by:
Michael Ellerman <mpe@ellerman.id.au>
Showing
- arch/powerpc/include/asm/asm-prototypes.h 2 additions, 2 deletionsarch/powerpc/include/asm/asm-prototypes.h
- arch/powerpc/kernel/head_32.S 3 additions, 3 deletionsarch/powerpc/kernel/head_32.S
- arch/powerpc/kernel/head_44x.S 2 additions, 2 deletionsarch/powerpc/kernel/head_44x.S
- arch/powerpc/kernel/head_fsl_booke.S 2 additions, 2 deletionsarch/powerpc/kernel/head_fsl_booke.S
- arch/powerpc/kernel/smp.c 4 additions, 6 deletionsarch/powerpc/kernel/smp.c
Loading
Please register or sign in to comment