arm64: Atomic operations
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 5 Mar 2012 11:49:29 +0000 (11:49 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 17 Sep 2012 12:42:02 +0000 (13:42 +0100)
commit6170a97460dbda12686bef0dec65ce2d59867f9e
tree8e4fde78c58d30e2fc3af4be6b0fff0371c5f79f
parentfb9bd7d6df81ddf1e7ab6648ac89ddbe0625b26b
arm64: Atomic operations

This patch introduces the atomic, mutex and futex operations. Many
atomic operations use the load-acquire and store-release operations
which imply barriers, avoiding the need for explicit DMB.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Acked-by: Olof Johansson <olof@lixom.net>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/include/asm/atomic.h [new file with mode: 0644]
arch/arm64/include/asm/futex.h [new file with mode: 0644]