diff options
| author | Eric Chan <[email protected]> | 2024-02-17 13:12:49 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2024-03-20 01:52:22 +0000 |
| commit | 89f4fd7b1ab7733d9d817e7123c58996ca38ae98 (patch) | |
| tree | b8c84c714a02dee3300ec1fa2f02a1b7eb640a8e /scripts/bpf_doc.py | |
| parent | Linux 6.8-rc1 (diff) | |
| download | kernel-89f4fd7b1ab7733d9d817e7123c58996ca38ae98.tar.gz kernel-89f4fd7b1ab7733d9d817e7123c58996ca38ae98.zip | |
riscv/barrier: Define __{mb,rmb,wmb}
Introduce __{mb,rmb,wmb}, and rely on the generic definitions for
{mb,rmb,wmb}. Although KCSAN is not supported yet, the definitions can
be made more consistent with generic instrumentation. Also add a space
to make the changes pass check by checkpatch.pl.
Without the space, the error message is as below:
ERROR: space required after that ',' (ctx:VxV)
26: FILE: arch/riscv/include/asm/barrier.h:23:
+#define __mb() RISCV_FENCE(iorw,iorw)
^
Signed-off-by: Eric Chan <[email protected]>
Reviewed-by: Andrea Parri <[email protected]>
Reviewed-by: Samuel Holland <[email protected]>
Tested-by: Samuel Holland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions
