Re: [gcv v3 18/35] drivers/leds: Replace __get_cpu_var uses

2013-09-03 Thread Bryan Wu
On Wed, Aug 28, 2013 at 12:48 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

[gcv v3 18/35] drivers/leds: Replace __get_cpu_var uses

2013-08-28 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 d