summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/oprofile/common.c
diff options
context:
space:
mode:
authorAndy Fleming <afleming@freescale.com>2006-10-27 14:31:07 -0500
committerPaul Mackerras <paulus@samba.org>2006-11-01 14:52:48 +1100
commite0da0daee14862e0a5c49f2059641a8deb27eca2 (patch)
treecc124794f1b7957c17b5e6a854e134d924c8ac43 /arch/powerpc/oprofile/common.c
parent441cbd8dace80545db2ac43175ac1c097d96f75c (diff)
downloadop-kernel-dev-e0da0daee14862e0a5c49f2059641a8deb27eca2.zip
op-kernel-dev-e0da0daee14862e0a5c49f2059641a8deb27eca2.tar.gz
[POWERPC] Fix rmb() for e500-based machines it
The e500 core generates an illegal instruction exception when it tries to execute the lwsync instruction, which we currently use for rmb(). This fixes it by using the LWSYNC macro, which turns into a plain sync on 32-bit machines. Signed-off-by: Andrew Fleming <afleming@freescale.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/oprofile/common.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud