Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f3aaf2c authored by Peter Zijlstra's avatar Peter Zijlstra Committed by Ingo Molnar
Browse files

x86, locking: Use no more OOSTORE nonsense



Paul reported that X86_OOSTORE is dead, yay! Update a comment and
remove a newly added reference.

Reported-by: default avatarPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: default avatarPeter 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: default avatarIngo Molnar <mingo@kernel.org>
parent ebe06187
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -99,7 +99,7 @@
#if defined(CONFIG_X86_PPRO_FENCE)
#if defined(CONFIG_X86_PPRO_FENCE)


/*
/*
 * For either of these options x86 doesn't have a strong TSO memory
 * For this option x86 doesn't have a strong TSO memory
 * model and we should fall back to full barriers.
 * model and we should fall back to full barriers.
 */
 */


+1 −1
Original line number Original line Diff line number Diff line
@@ -3,7 +3,7 @@


#include <asm-generic/qrwlock_types.h>
#include <asm-generic/qrwlock_types.h>


#if !defined(CONFIG_X86_OOSTORE) && !defined(CONFIG_X86_PPRO_FENCE)
#ifndef CONFIG_X86_PPRO_FENCE
#define queue_write_unlock queue_write_unlock
#define queue_write_unlock queue_write_unlock
static inline void queue_write_unlock(struct qrwlock *lock)
static inline void queue_write_unlock(struct qrwlock *lock)
{
{