[PATCH 4.14 161/217] ARC: Improve cmpxchg syscall implementation