• Vineet Gupta's avatar
    ARC: add barriers to futex code · 31d30c82
    Vineet Gupta authored
    The atomic ops on futex need to provide the full barrier just like
    regular atomics in kernel.
    
    Also remove pagefault_enable/disable in futex_atomic_cmpxchg_inatomic()
    as core code already does that
    
    Cc: David Hildenbrand <dahi@linux.vnet.ibm.com>
    Cc: Peter Zijlstra (Intel) <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Michel Lespinasse <walken@google.com>
    Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
    31d30c82
futex.h 3.89 KB