diff options
author | Paul Burton <paul.burton@imgtec.com> | 2014-02-14 09:28:06 +0000 |
---|---|---|
committer | Paul Burton <paul.burton@imgtec.com> | 2014-05-02 16:39:14 +0100 |
commit | 76ae658465c2319a63f3814b1e1e6e0664a1f542 (patch) | |
tree | 4af72b0569cbd60201131e23a9a5da161a638276 /arch/mips/alchemy | |
parent | 2ba60250b01bfbab6b2293f8c1492312eb6a4131 (diff) | |
download | linux-76ae658465c2319a63f3814b1e1e6e0664a1f542.tar.bz2 |
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: Paul Burton <paul.burton@imgtec.com>
Diffstat (limited to 'arch/mips/alchemy')
0 files changed, 0 insertions, 0 deletions