Skip to content
Commit 309995b3 authored by Sean Anderson's avatar Sean Anderson Committed by Andes
Browse files

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: default avatarSean Anderson <seanga2@gmail.com>
Reviewed-by: default avatarBin Meng <bin.meng@windriver.com>
Reviewed-by: default avatarRick Chen <rick@andestech.com>
parent 768502e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment