]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8bb5f141a543dec7aa0b77e292a525da26971e34
tree5189a9995143892a8ef7ecfc04c11c1d546bc21b
parent8d6799af30083fa363ac682250b88ebdb521eb90
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