[PATCH 0/4] list.h/treewide: get rid of no-op prefetch()

Tom Rini trini at konsulko.com
Wed Jun 18 16:06:30 CEST 2025


On Wed, Jun 18, 2025 at 08:23:02AM +0200, Rasmus Villemoes wrote:
> On Thu, May 22 2025, Tom Rini <trini at konsulko.com> wrote:
> 
> > On Wed, May 07, 2025 at 02:12:42PM +0200, Rasmus Villemoes wrote:
> >
> >> While looking through list.h, I saw that the regular list_* helpers
> >> (and one of the hlist_* ones) still contain the prefetch() that was
> >> removed in linux 14 years ago. It doesn't do anything, but makes the
> >> macros harder to read, so get rid of it, and the fallback, no-op
> >> definition that they relied on. That requires removing a few uses
> >> outside list.h as well.
> >> 
> >
> > Unfortunately this leads to build problems on lots of platforms:
> > https://source.denx.de/u-boot/u-boot/-/jobs/1141951
> 
> Hi Tom
> 
> Now that the 'remove volatile from gd' series is in -next, could you see
> how these cleanups would fare on top of that?

Yes, I'll give it another spin right now.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250618/4f3b8a35/attachment.sig>


More information about the U-Boot mailing list