[PATCH 35/41] tile: Replace __get_cpu_var uses

2014-01-17 Thread Christoph Lameter
[Patch depends on another patch in this series that introduces raw_cpu_ops] __get_cpu_var() is used for multiple purposes in the kernel source. One of them is address calculation via the form &__get_cpu_var(x). This calculates the address for the instance of the percpu variable of the current pro

Re: [PATCH 35/41] tile: Replace __get_cpu_var uses

2013-12-10 Thread Christoph Lameter
On Mon, 9 Dec 2013, Chris Metcalf wrote: > Except for a comment typo: > > > /* > > * Read the set of maskable interrupts. > > - * We avoid the preemption warning here via __this_cpu_ptr since even > > + * We avoid the preemption warning here via raw_cpu_ptr since even > > * if irqs are alread

Re: [PATCH 35/41] tile: Replace __get_cpu_var uses

2013-12-09 Thread Chris Metcalf
On 12/3/2013 6:33 PM, Christoph Lameter wrote: > __get_cpu_var() is used for multiple purposes in the kernel source. One of > them is address calculation via the form &__get_cpu_var(x). This calculates > the address for the instance of the percpu variable of the current processor > based on an off

[PATCH 35/41] tile: Replace __get_cpu_var uses

2013-12-03 Thread Christoph Lameter
__get_cpu_var() is used for multiple purposes in the kernel source. One of them is address calculation via the form &__get_cpu_var(x). This calculates the address for the instance of the percpu variable of the current processor based on an offset. Other use cases are for storing and retrieving da