• G
    x86: unify setup_trampoline · 91718e8d
    Glauber Costa 提交于
    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: NGlauber Costa <gcosta@redhat.com>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    91718e8d
smpboot.c 8.1 KB