powerpc: Optimise smp_wmb
commit46d075be585eae2b74265e4e64ca38dde16a09c6
authorNick Piggin <npiggin@suse.de>
Tue, 11 Nov 2008 17:50:48 +0000 (11 17:50 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 19 Nov 2008 05:04:55 +0000 (19 16:04 +1100)
treed12904aeb09e4f07cf07e6f8b0a9831c953f5d78
parenta4e22f02f5b6518c1484faea1f88d81802b9feac
powerpc: Optimise smp_wmb

Change 2d1b2027626d5151fff8ef7c06ca8e7876a1a510 ("powerpc: Fixup
lwsync at runtime") removed __SUBARCH_HAS_LWSYNC, causing smp_wmb to
revert back to eieio for all CPUs.  This restores the behaviour
intorduced in 74f0609526afddd88bef40b651da24f3167b10b2 ("powerpc:
Optimise smp_wmb on 64-bit processors").

Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/synch.h
arch/powerpc/include/asm/system.h