[POWERPC] Add "memory" clobber to MMIO accessors
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 28 May 2008 00:18:17 +0000 (10:18 +1000)
committerPaul Mackerras <paulus@samba.org>
Sat, 31 May 2008 07:08:28 +0000 (17:08 +1000)
Gcc might re-order MMIO accessors vs. surrounding consistent
memory accesses, which is a "bad thing", and could break drivers.
This fixes it by adding a "memory" clobber to the MMIO accessors,
which should prevent gcc from doing that reordering.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found