[PATCH RESEND 5/5] ARC: ensure futex ops are atomic in !LLSC config

2015-08-25 Thread Vineet Gupta
W/o hardware assisted atomic r-m-w the best we can do is to disable preemption. Cc: David Hildenbrand Cc: Peter Zijlstra (Intel) Cc: Thomas Gleixner Cc: Michel Lespinasse Signed-off-by: Vineet Gupta --- arch/arc/include/asm/futex.h | 12 1 file changed, 12 insertions(+) diff

[PATCH RESEND 5/5] ARC: ensure futex ops are atomic in !LLSC config

2015-08-25 Thread Vineet Gupta
W/o hardware assisted atomic r-m-w the best we can do is to disable preemption. Cc: David Hildenbrand d...@linux.vnet.ibm.com Cc: Peter Zijlstra (Intel) pet...@infradead.org Cc: Thomas Gleixner t...@linutronix.de Cc: Michel Lespinasse wal...@google.com Signed-off-by: Vineet Gupta