tools arch x86: Introduce atomic_cmpxchg()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 22 Feb 2017 19:55:43 +0000 (16:55 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 3 Mar 2017 22:07:13 +0000 (19:07 -0300)
commit8a73615df3b8973df2de1455c00e9169522d8257
tree1920f5e43fda4eac0c8769ae5fb483057113116e
parent3337e682d9f3043bb0b925d976558ed5c41b0a09
tools arch x86: Introduce atomic_cmpxchg()

Will be used by atomic_cmpxchg_relaxed(), in turn used by refcount.h.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Elena Reshetova <elena.reshetova@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-kdmovd3l4gw5b1w31ypr6ddv@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/arch/x86/include/asm/atomic.h