Re: [PATCH] regcache: Store values more directly in maple trees

From: Mark Brown
Date: Tue Oct 29 2024 - 10:32:52 EST


On Tue, Oct 29, 2024 at 03:26:41PM +0100, Geert Uytterhoeven wrote:
> On Thu, Sep 26, 2024 at 12:20 PM Mark Brown <broonie@xxxxxxxxxx> wrote:

> > + * On 64 bit systems uintptr_t will be 64 bit but unsigned long 32 bit
> > + * so we can store the register values directly in the maple tree. We

> ... as this assumption is not true: "unsigned long" is 64-bit on
> 64-bit platforms (and 32-bit on 32-bit platforms).

You're right, I'm not sure what I was thinking there. I think it was
confusion caused by the spurious warnings generated with u64.

Attachment: signature.asc
Description: PGP signature