aboutsummaryrefslogtreecommitdiff
path: root/cputlb.c
diff options
context:
space:
mode:
authorNikunj A Dadhania <nikunj@linux.vnet.ibm.com>2017-04-27 10:48:19 +0530
committerDavid Gibson <david@gibson.dropbear.id.au>2017-05-11 09:45:14 +1000
commit253ce7b2cfc0bccc3470335b0d7282457926087d (patch)
treedd65f81195f155f2819acfbfa42f8d17f8651e36 /cputlb.c
parenta1a636b8b444acacf8c4299923c907ed2475811f (diff)
target/ppc: Emulate LL/SC using cmpxchg helpers
Emulating LL/SC with cmpxchg is not correct, since it can suffer from the ABA problem. However, portable parallel code is written assuming only cmpxchg which means that in practice this is a viable alternative. Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'cputlb.c')
0 files changed, 0 insertions, 0 deletions