sh: add J2 atomics using the cas.l instruction
authorRich Felker <dalias@libc.org>
Thu, 28 Jul 2016 19:21:10 +0000 (19:21 +0000)
committerRich Felker <dalias@libc.org>
Fri, 5 Aug 2016 03:29:34 +0000 (03:29 +0000)
commit2b47d54ed41c33baf5825185168b493317c5572f
treea42a2098fa73f41d6d5b214e1eeca5712d419551
parent834da197058bebcb343320dafb8b62d416d4038c
sh: add J2 atomics using the cas.l instruction

Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/include/asm/atomic.h
arch/sh/include/asm/barrier.h
arch/sh/include/asm/bitops-cas.h [new file with mode: 0644]
arch/sh/include/asm/bitops.h
arch/sh/include/asm/cmpxchg-cas.h [new file with mode: 0644]
arch/sh/include/asm/cmpxchg.h
arch/sh/include/asm/spinlock-cas.h [new file with mode: 0644]
arch/sh/include/asm/spinlock-llsc.h [new file with mode: 0644]
arch/sh/include/asm/spinlock.h