summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2018-03-22 20:41:46 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2018-03-31 00:10:34 +1100
commit0bfdf598900fd62869659f360d3387ed80eb71cf (patch)
tree023c77e758b6f8e8f2bee9de7f1463ea12bae481 /drivers/macintosh
parent9a2c1d31e6910b9d5e0205f9167d0b1abeea1413 (diff)
downloadlinux-0-day-0bfdf598900fd62869659f360d3387ed80eb71cf.tar.gz
linux-0-day-0bfdf598900fd62869659f360d3387ed80eb71cf.tar.xz
powerpc/64: Fix smp_wmb barrier definition use use lwsync consistently
asm/barrier.h is not always included after asm/synch.h, which meant it was missing __SUBARCH_HAS_LWSYNC, so in some files smp_wmb() would be eieio when it should be lwsync. kernel/time/hrtimer.c is one case. __SUBARCH_HAS_LWSYNC is only used in one place, so just fold it in to where it's used. Previously with my small simulator config, 377 instances of eieio in the tree. After this patch there are 55. Fixes: 46d075be585e ("powerpc: Optimise smp_wmb") Cc: stable@vger.kernel.org # v2.6.29+ Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/macintosh')
0 files changed, 0 insertions, 0 deletions