commit | cfab3bdf8292edec19492c89520b1ad11279a648 | [log] [tgz] |
---|---|---|
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | Wed May 28 10:18:17 2008 +1000 |
committer | Paul Mackerras <paulus@samba.org> | Sat May 31 17:08:28 2008 +1000 |
tree | dbc3ed8bf7173b102bf844ed8121941b0b2303d8 | |
parent | 732bee4c859012edf05f3e09b53b68fc332a369d [diff] |
[POWERPC] Add "memory" clobber to MMIO accessors 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>