• T
    x86: load pointer to pda into %gs while brining up a CPU · f32ff538
    Tejun Heo 提交于
    [ 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: NTejun Heo <tj@kernel.org>
    f32ff538
smpboot.c 35.1 KB