mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 20:32:22 +00:00
4f3aaf2c2b
Paul reported that X86_OOSTORE is dead, yay! Update a comment and remove a newly added reference. Reported-by: Paul Bolle <pebolle@tiscali.nl> Signed-off-by: Peter Zijlstra <peterz@infradead.org> Cc: Dave Jones <davej@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Cc: Waiman Long <Waiman.Long@hp.com> Cc: Will Deacon <will.deacon@arm.com> Link: http://lkml.kernel.org/r/20140611090509.GC3588@twins.programming.kicks-ass.net Signed-off-by: Ingo Molnar <mingo@kernel.org>
18 lines
373 B
C
18 lines
373 B
C
#ifndef _ASM_X86_QRWLOCK_H
|
|
#define _ASM_X86_QRWLOCK_H
|
|
|
|
#include <asm-generic/qrwlock_types.h>
|
|
|
|
#ifndef CONFIG_X86_PPRO_FENCE
|
|
#define queue_write_unlock queue_write_unlock
|
|
static inline void queue_write_unlock(struct qrwlock *lock)
|
|
{
|
|
barrier();
|
|
ACCESS_ONCE(*(u8 *)&lock->cnts) = 0;
|
|
}
|
|
#endif
|
|
|
|
#include <asm-generic/qrwlock.h>
|
|
|
|
#endif /* _ASM_X86_QRWLOCK_H */
|