]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] Fix rmb to order cacheable vs. noncacheable
authorNick Piggin <npiggin@suse.de>
Wed, 21 May 2008 14:10:56 +0000 (00:10 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 16 Jun 2008 05:00:20 +0000 (15:00 +1000)
commit598056d5af8fef1dbe8f96f5c2b641a528184e5a
tree4839b7a63cade4751527f94307a05687710311ad
parenta9653cf540d407fb75deb3db65a1be6c81d53ee0
[POWERPC] Fix rmb to order cacheable vs. noncacheable

lwsync is explicitly defined not to have any effect on the ordering of
accesses to device memory, so it cannot be used for rmb(). sync appears
to be the only barrier which fits the bill.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/system.h