]> git.baikalelectronics.ru Git - kernel.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)
commitdd2c3d700381ad0b5ce733408bc4c245a3b4df17
tree4839b7a63cade4751527f94307a05687710311ad
parent8ff1c5755c10feef954fca08a6cd50d59750cb80
[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