diff options
author | Rasmus Villemoes <ravi@prevas.dk> | 2025-05-07 14:12:43 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-06-18 08:05:04 -0600 |
commit | c1c2b5c6a4c09fe57933b70ec6289795f732ac83 (patch) | |
tree | 52b34630f49683b7506106ee7ddcec66e9527aec /drivers/ddr/imx/imx8ulp/ddr_init.c | |
parent | 48db49b0977cc1c9c9abf82c0fb704238fcef4fd (diff) |
linux/list.h: drop use of prefetch()
The use of prefetch() in these list helpers was dropped back in 2011
in linux (e66eed651fd1 ("list: remove prefetching from regular list
iterators")). No arch in U-Boot defines any actual prefetch(), and as
the referenced commit says, it's usually not a win anyway.
Whole-sale sync of list.h is not really feasible, but we can
synchronize the macros containing a prefetch() with their linux
implementations as of v6.15-rc5, also importing the various helpers
needed, e.g. list_is_head() and list_next_entry().
Signed-off-by: Rasmus Villemoes <ravi@prevas.dk>
Diffstat (limited to 'drivers/ddr/imx/imx8ulp/ddr_init.c')
0 files changed, 0 insertions, 0 deletions