Skip to content
Commit 76ae6584 authored by Paul Burton's avatar Paul Burton
Browse files

MIPS: CPC: provide locking functions



This patch provides functions to lock & unlock access to the
"core-other" register region of the CPC. Without performing appropriate
locking it is possible for code using this region to be preempted or to
race with code on another VPE within the same core, with one changing
the core which the "core-other" region is acting upon at an inopportune
time for the other.

Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
parent 2ba60250
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment