ARM: Add a cmpxchg implementation to the "comm page".
authorGabe Black <gblack@eecs.umich.edu>
Wed, 10 Jun 2009 06:41:03 +0000 (23:41 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 10 Jun 2009 06:41:03 +0000 (23:41 -0700)
commit3ff1e922c22dcc68274b16fcce080cd69b69b47b
tree07342655b1b6418f950fa9edffe8ca64a90e8091
parent37ac2871d5a65dfa19b63c3bed9c6622d6b8b6c9
ARM: Add a cmpxchg implementation to the "comm page".
This implementation does what it's supposed to (I think), but it's not atomic
and doesn't have memory barriers like the kernel's version.
src/arch/arm/linux/process.cc