diff options
author | Vineet Gupta <Vineet.Gupta1@synopsys.com> | 2016-11-07 16:31:40 -0800 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-11-13 13:44:35 +0100 |
commit | b985fa069187e4c5a7ee84213d9fbead2f219ce5 (patch) | |
tree | 1b34d11506b950e6e99978053bc458545773a321 /libcrypt/sha256.h | |
parent | 17ea4f9622a80cc8717beeefe1371ccbcd501fe3 (diff) |
NPTL/ARC: provide a kernel assisted atomic cmpxchg
For hardware configurations lacking LLOCK/SCOND (say ARC750),
use a syscall to atomically do the cmpxchg.
This is costly and painful, but really the only way out.
Note that kenrel only guarantees this to work in a UP configuraion
Reported-by: Avinash Patil <avinashp@quantenna.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'libcrypt/sha256.h')
0 files changed, 0 insertions, 0 deletions