Skip to content
Commit 91e040a7 authored by Vineet Gupta's avatar Vineet Gupta
Browse files

ARC: syscall for userspace cmpxchg assist



Older ARC700 cores (ARC750 specifically) lack instructions to implement
atomic r-w-w. This is problematic for userspace libraries such as NPTL
which need atomic primitives. So enable them by providing kernel assist.
This is costly but really the only sane soluton (othern than tight
spinning using the otherwise availiable atomic exchange EX instruciton).

Good thing is there are only a few of these cores running Linux out in
the wild.

This only works on UP systems.

Reviewed-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 1dec7858
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment