• Tejun Heo's avatar
    x86: make pda a percpu variable · b12d8db8
    Tejun Heo authored
    [ 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: default avatarTejun Heo <tj@kernel.org>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    b12d8db8
head64.c 3.29 KB