commit | 40fb79c8a88625504857d44de1bc89dc0341e618 | [log] [tgz] |
---|---|---|
author | Nicolas Pitre <nicolas.pitre@linaro.org> | Sun Jun 19 23:36:03 2011 -0400 |
committer | Nicolas Pitre <nico@fluxnic.net> | Tue Jun 28 15:47:47 2011 -0400 |
tree | 1f0e417a1f1c80fcaa79729f1a4b29e96f01fed2 | |
parent | 37b8304642c7f91df54888955c373ae89b577fcc [diff] |
ARM: add a kuser_cmpxchg64 user space helper Some user space applications are designed around the ability to perform atomic operations on 64 bit values. Since this is natively possible only with ARMv6k and above, let's provide a new kuser helper to perform the operation with kernel supervision on pre ARMv6k hardware. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org> Tested-by: Dave Martin <dave.martin@linaro.org>