[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.21.1911271553560.16980@www.lameter.com>
Date: Wed, 27 Nov 2019 15:55:19 +0000 (UTC)
From: Christopher Lameter <cl@...ux.com>
To: Luc Van Oostenryck <luc.vanoostenryck@...il.com>
cc: Dennis Zhou <dennis@...nel.org>,
Ben Dooks <ben.dooks@...ethink.co.uk>,
linux-arch@...r.kernel.org, linux-kernel@...r.kernel.org,
Tejun Heo <tj@...nel.org>, Nicholas Piggin <npiggin@...il.com>,
Arnd Bergmann <arnd@...db.de>
Subject: Re: [PATCH] fix __percpu annotation in asm-generic
On Tue, 26 Nov 2019, Luc Van Oostenryck wrote:
> So, fix the declaration of the 'pcp' variable to its correct type:
> the plain (non-percpu) pointer corresponding to its address.
> Same for raw_cpu_generic_xchg(), raw_cpu_generic_cmpxchg() &
> raw_cpu_generic_cmpxchg_double().
Acked-by: Christoph Lameter <cl@...ux.com>
Maybe a better fix is to come up with a typeof_strip_percu() or so
macro for all the places where this needs to be done?
Powered by blists - more mailing lists