2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 22:53:55 +08:00
linux-next/arch/arc/include/uapi/asm
Vineet Gupta 91e040a79d 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: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2016-10-24 09:24:26 -07:00
..
byteorder.h ARC: clean out UAPI byteorder.h clean off Kconfig symbol 2016-05-09 09:32:31 +05:30
cachectl.h ARC: UAPI Disintegrate arch/arc/include/asm 2013-02-15 23:16:11 +05:30
elf.h ARC: Support syscall ABI v4 2016-08-19 10:44:34 -07:00
Kbuild ARC: remove duplicate header exports 2014-06-03 13:26:53 +05:30
page.h ARC: mm: use generic macros _BITUL()/_AC() 2015-10-28 19:31:05 +05:30
ptrace.h ARC: Make pt_regs regs unsigned 2015-08-05 11:48:21 +05:30
setup.h ARC: UAPI Disintegrate arch/arc/include/asm 2013-02-15 23:16:11 +05:30
sigcontext.h ARC: UAPI Disintegrate arch/arc/include/asm 2013-02-15 23:16:11 +05:30
signal.h ARC: UAPI Disintegrate arch/arc/include/asm 2013-02-15 23:16:11 +05:30
swab.h Fix typos 2016-05-30 10:07:32 +05:30
unistd.h ARC: syscall for userspace cmpxchg assist 2016-10-24 09:24:26 -07:00