diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2008-05-28 02:18:17 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-05-31 09:08:28 +0200 |
commit | cfab3bdf8292edec19492c89520b1ad11279a648 (patch) | |
tree | dbc3ed8bf7173b102bf844ed8121941b0b2303d8 /include/asm-mn10300/module.h | |
parent | [POWERPC] pasemi: update pasemi_defconfig, enable electra_cf (diff) | |
download | linux-cfab3bdf8292edec19492c89520b1ad11279a648.tar.xz linux-cfab3bdf8292edec19492c89520b1ad11279a648.zip |
[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>
Diffstat (limited to 'include/asm-mn10300/module.h')
0 files changed, 0 insertions, 0 deletions