x86/cpu: Unify cpu_init()
authorThomas Gleixner <tglx@linutronix.de>
Mon, 11 Nov 2019 22:03:17 +0000 (23:03 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 16 Nov 2019 10:23:59 +0000 (11:23 +0100)
commit505b789996f64bdbfcc5847dd4b5076fc7c50274
tree40fe64a83a3635ef85fa7c43d025c2eda769e79c
parent2fff071d28b54f050f62654dad4ec111b8416d8e
x86/cpu: Unify cpu_init()

Similar to copy_thread_tls() the 32bit and 64bit implementations of
cpu_init() are very similar and unification avoids duplicate changes in the
future.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Andy Lutomirski <luto@kernel.org>
arch/x86/kernel/cpu/common.c