]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Hexagon: Add atomic ops support
authorRichard Kuo <rkuo@codeaurora.org>
Tue, 13 Sep 2011 00:37:55 +0000 (10:37 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 13 Sep 2011 00:37:55 +0000 (10:37 +1000)
commitf3bc3cc9b5414cdb4cbc5156b4ae5f8c12dd7334
treecd6d7ee0fbceeda859cd16031b501dd48f49d46a
parenta16e0b170b8bd7b787406b3ee0c8a0a7065de84f
Hexagon: Add atomic ops support

Our architecture uses load locked/store conditional type semantics for atomic
ops.

Added inline assembly version of atomic_add_unless.

Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/hexagon/include/asm/atomic.h [new file with mode: 0644]