diff options
author | Stefan Kristiansson <stefan.kristiansson@saunalahti.fi> | 2014-07-15 17:00:05 +0200 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2017-02-24 20:14:23 +0100 |
commit | 4ac46db1aaf16a009a8318cdba3acf03de85bcea (patch) | |
tree | 6a2429be3900fed07a307f4c477ca20afac324d6 /arch/hexagon/include | |
parent | openrisc: add optimized atomic operations (diff) | |
download | linux-4ac46db1aaf16a009a8318cdba3acf03de85bcea.tar.xz linux-4ac46db1aaf16a009a8318cdba3acf03de85bcea.zip |
openrisc: add futex_atomic_* implementations
Support for the futex_atomic_* operations by using the
load-link/store-conditional l.lwa/l.swa instructions.
Most openrisc cores provide these instructions now if not available,
emulation is provided.
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
[shorne@gmail.com: remove OPENRISC_HAVE_INST_LWA_SWA config suggesed by
Alan Cox https://lkml.org/lkml/2014/7/23/666]
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'arch/hexagon/include')
0 files changed, 0 insertions, 0 deletions