Fixes: afa4f6653dc ("bswap: Add stn_*_p() and ldn_*_p() functions")
Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
docs/devel/loads-stores.rst | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/devel/loads-stores.rst b/docs/devel/loads-stores.rst
index fc78def0612..3582814c580 100644
--- a/docs/devel/loads-stores.rst
+++ b/docs/devel/loads-stores.rst
@@ -52,12 +52,12 @@ files which are built per-target.
There are also functions which take the size as an argument:
-load: ``ldn{endian}_p(ptr, sz)``
+load: ``ldn_{endian}_p(ptr, sz)``
which performs an unsigned load of ``sz`` bytes from ``ptr``
as an ``{endian}`` order value and returns it in a uint64_t.
-store: ``stn{endian}_p(ptr, sz, val)``
+store: ``stn_{endian}_p(ptr, sz, val)``
which stores ``val`` to ``ptr`` as an ``{endian}`` order value
of size ``sz`` bytes.
@@ -67,8 +67,8 @@ Regexes for git grep -G:
- ``\<ld[us]\?[bwlq]\(_[hbl]e\)\?_p\>``
- ``\<st[bwlq]\(_[hbl]e\)\?_p\>``
- ``\<st24\(_[hbl]e\)\?_p\>``
- - ``\<ldn_\([hbl]e\)\?_p\>``
- - ``\<stn_\([hbl]e\)\?_p\>``
+ - ``\<ldn\(_[hbl]e\)\?_p\>``
+ - ``\<stn\(_[hbl]e\)\?_p\>``
``cpu_{ld,st}*_mmu``
~~~~~~~~~~~~~~~~~~~~
--
2.52.0