OSDN Git Service

powerpc/process: Remove unneccessary #ifdef CONFIG_PPC64 in copy_thread_tls()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Wed, 29 Jan 2020 19:50:07 +0000 (19:50 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 19 Feb 2020 10:07:09 +0000 (21:07 +1100)
commitba32f4b02105e57627912b42e141d65d90074c64
treec7b0aed68b3cb64c81e4148400d050dcb83fe4ba
parent72c4ebbac476b8375e69fd09390e6b64c2891716
powerpc/process: Remove unneccessary #ifdef CONFIG_PPC64 in copy_thread_tls()

is_32bit_task() exists on both PPC64 and PPC32, no need of an ifdefery.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Reviewed-by: Michal Suchanek <msuchanek@suse.de>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/6ecbda05b4119c40222dc8ec284604e1597c9bff.1580327381.git.christophe.leroy@c-s.fr
arch/powerpc/kernel/process.c