• Glauber Costa's avatar
    x86: take load_sp0 out of smpboot.c · 7f6cbc90
    Glauber Costa authored
    there's no particular reason to do load_sp0 in different
    places for i386 and x86_64. They should all be in cpu_init.
    Right now, cpu_init itself is not integrated, but with this patch,
    the code becomes closer to each other, making in easier to integrate
    when the time comes.
    
    Furthermore, although doing it in do_boot_cpu for x86_64 is fine, since it's
    only a copy, load_sp0 should be executed in the cpu it refers to anyway.
    Signed-off-by: default avatarGlauber Costa <gcosta@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    7f6cbc90
smpboot.c 33.8 KB