diff options
author | Stefan Kristiansson <[email protected]> | 2014-05-12 14:08:26 +0300 |
---|---|---|
committer | Stafford Horne <[email protected]> | 2017-02-25 04:12:38 +0900 |
commit | 0e9f9fd20ce931cc2cf0519c56ae33fc74d656ad (patch) | |
tree | 502f8f067c7cc7ffcdd9042d404dc92e62b78f3c /lib/netdev-notifier-error-inject.c | |
parent | 63104c06a9eddf53f88f6d16196bb036c62967b2 (diff) |
openrisc: add atomic bitops
This utilize the load-link/store-conditional l.lwa and l.swa
instructions to implement the atomic bitops.
When those instructions are not available emulation is provided.
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Signed-off-by: Stefan Kristiansson <[email protected]>
[[email protected]: remove OPENRISC_HAVE_INST_LWA_SWA config suggesed by
Alan Cox https://lkml.org/lkml/2014/7/23/666, implement
test_and_change_bit]
Signed-off-by: Stafford Horne <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions