Re: linux-next: Tree for Sep 1
From: Christoph Lameter <hidden>
Date: 2014-09-08 14:15:52
Also in:
lkml
From: Christoph Lameter <hidden>
Date: 2014-09-08 14:15:52
Also in:
lkml
On Fri, 5 Sep 2014, Nicolas Pitre wrote:
quoted
- return raw_cpu_read(base->percpu_base); + return raw_cpu_read(*base->percpu_base);Isn't the pointer dereference supposed to be performed _outside_ the per CPU accessor?
It looks like percpu_base is a regular pointer to an offset. This is the correct way to refer to get the offset and load the value that the offset points to.