powerpc: clean stack pointers naming
Some stack pointers used to also be thread_info pointers and were called tp. Now that they are only stack pointers, rename them sp. Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
c911d2e128
commit
d608898abc
@@ -716,19 +716,14 @@ void __init emergency_stack_init(void)
|
||||
limit = min(ppc64_bolted_size(), ppc64_rma_size);
|
||||
|
||||
for_each_possible_cpu(i) {
|
||||
void *ti;
|
||||
|
||||
ti = alloc_stack(limit, i);
|
||||
paca_ptrs[i]->emergency_sp = ti + THREAD_SIZE;
|
||||
paca_ptrs[i]->emergency_sp = alloc_stack(limit, i) + THREAD_SIZE;
|
||||
|
||||
#ifdef CONFIG_PPC_BOOK3S_64
|
||||
/* emergency stack for NMI exception handling. */
|
||||
ti = alloc_stack(limit, i);
|
||||
paca_ptrs[i]->nmi_emergency_sp = ti + THREAD_SIZE;
|
||||
paca_ptrs[i]->nmi_emergency_sp = alloc_stack(limit, i) + THREAD_SIZE;
|
||||
|
||||
/* emergency stack for machine check exception handling. */
|
||||
ti = alloc_stack(limit, i);
|
||||
paca_ptrs[i]->mc_emergency_sp = ti + THREAD_SIZE;
|
||||
paca_ptrs[i]->mc_emergency_sp = alloc_stack(limit, i) + THREAD_SIZE;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user