• Tejun Heo's avatar
    x86: load pointer to pda into %gs while brining up a CPU · f32ff538
    Tejun Heo authored
    [ Based on original patch from Christoph Lameter and Mike Travis. ]
    
    CPU startup code in head_64.S loaded address of a zero page into %gs
    for temporary use till pda is loaded but address to the actual pda is
    available at the point.  Load the real address directly instead.
    
    This will help unifying percpu and pda handling later on.
    
    This patch is mostly taken from Mike Travis' "x86_64: Fold pda into
    per cpu area" patch.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    f32ff538
trampoline.h 759 Bytes