Commit 476758c6 authored by Bibo Mao's avatar Bibo Mao Committed by openeuler-sync-bot
Browse files

LoongArch: refresh usage of sync

LoongArch inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I6BWFP



--------------------------------

sync is used for ll/sc pair for read barrier, instead only ll is
required for read barrier, sc does not need. This patch fixes
the issue.

Change-Id: Ib8a42f50d494e3e80cda0843d069668604b486e6
Signed-off-by: default avatarBibo Mao <maobibo@loongson.cn>
(cherry picked from commit d8911a28)
parent 4416d3e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment