• T
    x86: make pda a percpu variable · b12d8db8
    Tejun Heo 提交于
    [ Based on original patch from Christoph Lameter and Mike Travis. ]
    
    As pda is now allocated in percpu area, it can easily be made a proper
    percpu variable.  Make it so by defining per cpu symbol from linker
    script and declaring it in C code for SMP and simply defining it for
    UP.  This change cleans up code and brings SMP and UP closer a bit.
    Signed-off-by: NTejun Heo <tj@kernel.org>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    b12d8db8
head_64.S 11.5 KB