• Vivek Goyal's avatar
    [PATCH] x86-64: 64bit PIC SMP trampoline · 90b1c208
    Vivek Goyal authored
    This modifies the SMP trampoline and all of the associated code so
    it can jump to a 64bit kernel loaded at an arbitrary address.
    
    The dependencies on having an idenetity mapped page in the kernel
    page tables for SMP bootup have all been removed.
    
    In addition the trampoline has been modified to verify
    that long mode is supported.  Asking if long mode is implemented is
    down right silly but we have traditionally had some of these checks,
    and they can't hurt anything.  So when the totally ludicrous happens
    we just might handle it correctly.
    Signed-off-by: default avatarEric W. Biederman <ebiederm@xmission.com>
    Signed-off-by: default avatarVivek Goyal <vgoyal@in.ibm.com>
    Signed-off-by: default avatarAndi Kleen <ak@suse.de>
    90b1c208
head.S 9.7 KB