diff options
| author | Charlie Jenkins <[email protected]> | 2024-06-29 00:25:49 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2024-07-01 17:50:18 +0000 |
| commit | 7c5d838d70902f017bc9b272b494994654b0c2bd (patch) | |
| tree | cbc61b82003dc244ede72ba59cea0b1fe051d554 /rust/helpers.c | |
| parent | Linux 6.10-rc6 (diff) | |
| download | kernel-7c5d838d70902f017bc9b272b494994654b0c2bd.tar.gz kernel-7c5d838d70902f017bc9b272b494994654b0c2bd.zip | |
documentation: Fix riscv cmodx example
ON/OFF in the keys was swapped between the first and second argument of
the prctl. The prctl key is always PR_RISCV_SET_ICACHE_FLUSH_CTX, and
the second argument can be PR_RISCV_CTX_SW_FENCEI_ON or
PR_RISCV_CTX_SW_FENCEI_OFF.
Signed-off-by: Charlie Jenkins <[email protected]>
Fixes: 6a08e4709c58 ("documentation: Document PR_RISCV_SET_ICACHE_FLUSH_CTX prctl")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
