• Glauber Costa's avatar
    x86: unify setup_trampoline · 91718e8d
    Glauber Costa authored
    setup_trampoline() looks very similar between architectures, and this
    patch unifies them. The i386 version allocates bootmem memory, while
    the x86_64 version uses a fixed address.
    
    In this patch, we initialize the global trampoline_base to the x86_64 version,
    and i386 allocation can later override it.
    Signed-off-by: default avatarGlauber Costa <gcosta@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    91718e8d
smpboot_32.c 26.2 KB