diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2017-02-23 15:33:02 -0300 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-03-03 19:07:14 -0300 |
| commit | ed4aad50ea0384737034b39f952f29cfb2da52ac (patch) | |
| tree | 1603e24ea3afad82d27138c65b3d8ece9e9497f1 /tools/perf/scripts/python | |
| parent | 2bcdeadbc094b4f6511aedea1e5b8052bf0cc89c (diff) | |
tools include: Provide gcc based cmpxchg fallback for !x86
We've been using an atomic_t implementation subset based on the gcc
builtin functions for a while, now, with refcount.h we need cmpxchg(),
use gcc's __sync_val_compare_and_swap() for that.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Elena Reshetova <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions