Re: [PATCH] mm/debug: add a cast to u64 for atomic64_read()

From: Peter Zijlstra
Date: Wed Mar 13 2019 - 10:24:30 EST


On Wed, Mar 13, 2019 at 02:46:55PM +0100, Arnd Bergmann wrote:
> It would be tempting to use scripts/atomic/* to generate more of
> the code in a consistent way, but that is likely to be even more
> work and more error-prone at the start.

Those scripts can't do actual implementations, which is the problem here
I think. The architectures really need to implement a whole bunch of
stuff themselves.