sh: add working futex atomic ops on userspace addresses for smp
authorRich Felker <dalias@libc.org>
Mon, 25 Apr 2016 21:58:03 +0000 (21:58 +0000)
committerRich Felker <dalias@libc.org>
Fri, 5 Aug 2016 03:29:36 +0000 (03:29 +0000)
commit00b73d8d1b7131da03aec73011a7286f566fe87f
tree5a557b49eeaa1717bba015c730c5a56e8d084985
parent2b47d54ed41c33baf5825185168b493317c5572f
sh: add working futex atomic ops on userspace addresses for smp

The version of futex.h in asm-generic should really be adapted to do
the same thing so that this hideous code does not have to be
duplicated per-arch.

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