From: Benjamin Herrenschmidt Date: Wed, 28 May 2008 00:18:17 +0000 (+1000) Subject: [POWERPC] Add "memory" clobber to MMIO accessors X-Git-Tag: v2.6.26-rc5~27^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfab3bdf8292edec19492c89520b1ad11279a648;p=pandora-kernel.git [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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed