]> asedeno.scripts.mit.edu Git - linux.git/commit
nds32: Atomic operations
authorGreentime Hu <greentime@andestech.com>
Wed, 25 Oct 2017 08:49:38 +0000 (16:49 +0800)
committerGreentime Hu <greentime@andestech.com>
Thu, 22 Feb 2018 02:44:32 +0000 (10:44 +0800)
commit484367b6a9225ec6830ae3fb4a3adbdd724cb93a
treec90dfc602450c33c2cc1f739a1b1ef067e626972
parentf13c34b9066745910bd96f94bd35895af2d4f2b8
nds32: Atomic operations

This patch includes the atomic and futex operations. Many atomic operations use
the load-lock word(llw) and store-condition word(scw) operations.

Signed-off-by: Vincent Chen <vincentc@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
arch/nds32/include/asm/barrier.h [new file with mode: 0644]
arch/nds32/include/asm/futex.h [new file with mode: 0644]