On Mon, Oct 18, 2021 at 7:31 PM Nick Hu <nick...@sifive.com> wrote:
>
> io read/write may cause wrong result because they may read/write data
> from/to register instead of memory. Add 'volatile' to avoid it.
>
> Signed-off-by: Nick Hu <nick...@sifive.com>
> ---
>  arch/riscv/include/asm/io.h | 18 +++++++++---------
>  1 file changed, 9 insertions(+), 9 deletions(-)
>

Reviewed-by: Bin Meng <bmeng...@gmail.com>

Reply via email to