• Paul Burton's avatar
    MIPS: CPC: provide locking functions · 76ae6584
    Paul Burton authored
    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>
    76ae6584
mips-cpc.h 5.8 KB