Re: [patch 3/3] x86_64: Make the x86_32 percpu operations usable on x86_64

2007-11-30 Thread Christoph Lameter
The following fix is needed for UP (did not have time to do proper testing, some people will get mad at me if I do not get into a vacation mode now, be back on the 13th of December): Fix UP setup The __per_cpu_start offset is still needed in a UP configuration. There we do not relocate the

Re: [patch 3/3] x86_64: Make the x86_32 percpu operations usable on x86_64

2007-11-30 Thread Christoph Lameter
The following fix is needed for UP (did not have time to do proper testing, some people will get mad at me if I do not get into a vacation mode now, be back on the 13th of December): Fix UP setup The __per_cpu_start offset is still needed in a UP configuration. There we do not relocate the

[patch 3/3] x86_64: Make the x86_32 percpu operations usable on x86_64

2007-11-29 Thread Christoph Lameter
Relocate the x86_64 percpu variables to begin at zero. Then we can directly use the x86_32 percpu operations. x86_32 offsets %fs by __per_cpu_start. x86_64 has %gs pointing directly to the pda and the per cpu area if they start at zero. Access to the pda with the x86_64 pda operations is still

[patch 3/3] x86_64: Make the x86_32 percpu operations usable on x86_64

2007-11-29 Thread Christoph Lameter
Relocate the x86_64 percpu variables to begin at zero. Then we can directly use the x86_32 percpu operations. x86_32 offsets %fs by __per_cpu_start. x86_64 has %gs pointing directly to the pda and the per cpu area if they start at zero. Access to the pda with the x86_64 pda operations is still