[PATCH v2 06/13] locking/qspinlock: Use atomic_cond_read_acquire

2018-04-11 Thread Will Deacon
Rather than dig into the counter field of the atomic_t inside the qspinlock structure so that we can call smp_cond_load_acquire, use atomic_cond_read_acquire instead, which operates on the atomic_t directly. Cc: Peter Zijlstra Cc: Ingo Molnar

[PATCH v2 06/13] locking/qspinlock: Use atomic_cond_read_acquire

2018-04-11 Thread Will Deacon
Rather than dig into the counter field of the atomic_t inside the qspinlock structure so that we can call smp_cond_load_acquire, use atomic_cond_read_acquire instead, which operates on the atomic_t directly. Cc: Peter Zijlstra Cc: Ingo Molnar Signed-off-by: Will Deacon ---