diff options
author | 2015-12-27 15:04:42 +0200 | |
---|---|---|
committer | 2016-01-12 20:46:57 +0200 | |
commit | 90a3ccb0be538a914e6a5c51ae919762261563ad (patch) | |
tree | cdf5acfa14f0ea661640646572181d1250c7572d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | s390: define __smp_xxx (diff) | |
download | linux-dev-90a3ccb0be538a914e6a5c51ae919762261563ad.tar.xz linux-dev-90a3ccb0be538a914e6a5c51ae919762261563ad.zip |
sh: define __smp_xxx, fix smp_store_mb for !SMP
sh variant of smp_store_mb() calls xchg() on !SMP which is stronger than
implied by both the name and the documentation.
define __smp_store_mb instead: code in asm-generic/barrier.h
will then define smp_store_mb correctly depending on
CONFIG_SMP.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions