powerpc: Use sizeof(struct thread_info) in INIT_SP_LIMIT
authorChristophe Leroy <christophe.leroy@c-s.fr>
Thu, 17 Jan 2019 12:27:40 +0000 (23:27 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 23 Feb 2019 11:31:40 +0000 (22:31 +1100)
commit5497c2536f09e733bb68362ffeba147203295ae2
treed58a10a4e6252a38de765089d0597eac0340e3e1
parent678c668a7732f3a11c25ae86d5737a019667e3c5
powerpc: Use sizeof(struct thread_info) in INIT_SP_LIMIT

Currently INIT_SP_LIMIT uses sizeof(init_thread_info), but that symbol
won't exist when we enable THREAD_INFO_IN_TASK. So just use the sizeof
the type which is the same value but will continue to work.

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/processor.h