diff options
author | Boqun Feng <[email protected]> | 2015-08-26 19:52:46 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-09-13 10:35:46 +0200 |
commit | 84567995612258c23bc55795575babe7ef605dd9 (patch) | |
tree | 69ae01847597ccd3e759b87dc5d11b457839298f /tools/perf/scripts/python/stackcollapse.py | |
parent | c7ef92cea98bc468bbc8e67b6e49d7365dc69482 (diff) |
locking/atomics, cmpxchg: Privatize the inclusion of asm/cmpxchg.h
After commit:
654672d4ba1a ("locking/atomics: Add _{acquire|release|relaxed}() variants of some atomic operations")
Architectures may only provide {cmp,}xchg_relaxed definitions in
asm/cmpxchg.h. Other variants, such as {cmp,}xchg, may be built in
linux/atomic.h, which means simply including asm/cmpxchg.h may not get
the definitions of all the{cmp,}xchg variants.
Therefore, we should privatize the inclusions of asm/cmpxchg.h to
keep it only included in arch/* and replace the inclusions outside
with linux/atomic.h
Signed-off-by: Boqun Feng <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Will Deacon <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Aybuke Ozdemir <[email protected]>
Cc: Chris Brannon <[email protected]>
Cc: Davidlohr Bueso <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Kirk Reiser <[email protected]>
Cc: Kishon Vijay Abraham I <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Samuel Thibault <[email protected]>
Cc: Shradha Shah <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: William Hubbs <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions