powerpc: Optimise smp_wmb on 64-bit processors
authorNick Piggin <npiggin@suse.de>
Wed, 21 May 2008 14:12:31 +0000 (00:12 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 30 Jun 2008 12:30:25 +0000 (22:30 +1000)
commit74f0609526afddd88bef40b651da24f3167b10b2
treebe6d04cbc81d37957f484b4085113765c9903e4c
parente9a4b6a3f6592862a67837e80aad3f50468857a6
powerpc: Optimise smp_wmb on 64-bit processors

For 64-bit processors, lwsync is the recommended method of store/store
ordering on caching enabled memory.  For those subarchs which have
lwsync, use it rather than eieio for smp_wmb.

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