alistair23-linux/arch/powerpc
Benjamin Herrenschmidt 2fae0a524b powerpc: Add memory clobber to mtspr()
Without this clobber, mtspr can be re-ordered by gcc vs. surrounding
memory accesses. While this might be ok for some cases, it's not in
others and I'm not confident that all callers get it right (In fact
I'm sure some of them don't).

So for now, let's make mtspr() itself contain a memory clobber until
we can audit and fix everything, at which point we can remove it
if we think it's worth doing so.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2009-06-16 14:15:46 +10:00
..
boot powerpc/bootwrapper: Custom build options for XPedite52xx targets 2009-06-15 22:15:20 -05:00
configs powerpc/85xx: Add defconfig for X-ES MPC85xx boards 2009-06-15 22:15:17 -05:00
include/asm powerpc: Add memory clobber to mtspr() 2009-06-16 14:15:46 +10:00
kernel powerpc: Add configurable -Werror for arch/powerpc 2009-06-16 14:15:45 +10:00
kvm powerpc: Add configurable -Werror for arch/powerpc 2009-06-16 14:15:45 +10:00
lib powerpc: Add configurable -Werror for arch/powerpc 2009-06-16 14:15:45 +10:00
math-emu
mm powerpc: Add configurable -Werror for arch/powerpc 2009-06-16 14:15:45 +10:00
oprofile powerpc: Add configurable -Werror for arch/powerpc 2009-06-16 14:15:45 +10:00
platforms powerpc: Fix invalid construct in our CPU selection Kconfig 2009-06-16 14:15:46 +10:00
sysdev powerpc: Add configurable -Werror for arch/powerpc 2009-06-16 14:15:45 +10:00
xmon powerpc: Add configurable -Werror for arch/powerpc 2009-06-16 14:15:45 +10:00
Kconfig powerpc: Use generic atomic64_t implementation on 32-bit processors 2009-06-15 13:27:38 +10:00
Kconfig.debug powerpc: Add configurable -Werror for arch/powerpc 2009-06-16 14:15:45 +10:00
Makefile powerpc: Move VMX and VSX asm code to vector.S 2009-06-09 16:46:25 +10:00