[PATCH 11/22] openrisc: add futex_atomic_* implementations

2017-01-14 Thread Stafford Horne
From: Stefan Kristiansson 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. Signed-off-by: Stefan

[PATCH 11/22] openrisc: add futex_atomic_* implementations

2017-01-14 Thread Stafford Horne
From: Stefan Kristiansson 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. Signed-off-by: Stefan Kristiansson [sho...@gmail.com: remove