diff options
author | Sean Anderson <seanga2@gmail.com> | 2020-09-21 07:51:39 -0400 |
---|---|---|
committer | Andes <uboot@andestech.com> | 2020-09-30 08:54:52 +0800 |
commit | 309995b315b9ffef999810af212cccb7a50004bc (patch) | |
tree | 032296314ad07c1732b0a02873604bbb99c5abee /drivers/timer/sandbox_timer.c | |
parent | 768502e2a7f283a715dd1f62e304393a88422545 (diff) |
riscv: Consolidate fences into AMOs for available_harts_lock
We can reduce the number of instructions needed to use available_harts_lock
by using the aq and rl suffixes for AMOs.
Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Rick Chen <rick@andestech.com>
Diffstat (limited to 'drivers/timer/sandbox_timer.c')
0 files changed, 0 insertions, 0 deletions