commit | 934b24ae82ec62e8f43852188c98f835853cce48 | [log] [tgz] |
---|---|---|
author | Sean Anderson <seanga2@gmail.com> | Mon Sep 21 07:51:39 2020 -0400 |
committer | Andes <uboot@andestech.com> | Wed Sep 30 08:54:52 2020 +0800 |
tree | 032296314ad07c1732b0a02873604bbb99c5abee | |
parent | dd1cd7080fd502441844ed375dffefff55352a98 [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>