ARM: add a kuser_cmpxchg64 user space helper
authorNicolas Pitre <nicolas.pitre@linaro.org>
Mon, 20 Jun 2011 03:36:03 +0000 (23:36 -0400)
committerNicolas Pitre <nico@fluxnic.net>
Tue, 28 Jun 2011 19:47:47 +0000 (15:47 -0400)
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>

No differences found