powerpc: Use lwarx/ldarx hint in bit locks
authorAnton Blanchard <anton@samba.org>
Wed, 10 Feb 2010 01:02:36 +0000 (01:02 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Wed, 17 Feb 2010 03:03:15 +0000 (14:03 +1100)
commit864b9e6fd76489aab422bac62162f57c52e06ed8
tree5ba9673f295abda55a23ae33e11a75de9b8292bf
parent4e14a4d17a8cd66ccab180d32c977091922cfbed
powerpc: Use lwarx/ldarx hint in bit locks

This patch implements the lwarx/ldarx hint bit for bit locks.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/include/asm/asm-compat.h
arch/powerpc/include/asm/bitops.h
arch/powerpc/include/asm/local.h
arch/powerpc/include/asm/ppc-opcode.h