summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/swapon.c
diff options
context:
space:
mode:
authorVineet Gupta <Vineet.Gupta1@synopsys.com>2016-11-07 16:31:40 -0800
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-11-13 13:44:35 +0100
commitb985fa069187e4c5a7ee84213d9fbead2f219ce5 (patch)
tree1b34d11506b950e6e99978053bc458545773a321 /libc/sysdeps/linux/common/swapon.c
parent17ea4f9622a80cc8717beeefe1371ccbcd501fe3 (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 'libc/sysdeps/linux/common/swapon.c')
0 files changed, 0 insertions, 0 deletions