x86: fix IO write barrier
authorNick Piggin <npiggin@suse.de>
Sat, 13 Oct 2007 01:06:55 +0000 (03:06 +0200)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 13 Oct 2007 01:41:21 +0000 (18:41 -0700)
commit4071c718555d955a35e9651f77086096ad87d498
tree5189a9995143892a8ef7ecfc04c11c1d546bc21b
parentdf1bdc0667eb3132fe60b3562347ca9133694ee0
x86: fix IO write barrier

wmb() on x86 must always include a barrier, because stores can go out of
order in many cases when dealing with devices (eg. WC memory).

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-x86/system_32.h
include/asm-x86/system_64.h