diff options
author | Mark Hambleton <mahamble@broadcom.com> | 2013-12-02 18:10:44 +0000 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-12-11 22:40:08 +0000 |
commit | 26b545351664d9ec3a7f9aff4100a05558c8db84 (patch) | |
tree | 5f5a8c15d2335266535ce3f5346dec7ae73411e7 /drivers/cpufreq/exynos4210-cpufreq.c | |
parent | 98ff17449dd2a9f3bb664120a95ada62d1984acb (diff) |
arm64: cmpxchg: update macros to prevent warningsv3.10/topic/warnings
Make sure the value we are going to return is referenced in order to
avoid warnings from newer GCCs such as:
arch/arm64/include/asm/cmpxchg.h:162:3: warning: value computed is not used [-Wunused-value]
((__typeof__(*(ptr)))__cmpxchg_mb((ptr), \
^
net/netfilter/nf_conntrack_core.c:674:2: note: in expansion of macro ‘cmpxchg’
cmpxchg(&nf_conntrack_hash_rnd, 0, rand);
[Modified to use the current underlying implementation as current
mainline for both cmpxchg() and cmpxchg_local() does -- broonie]
[In review upstream -- broonie]
Signed-off-by: Mark Hambleton <mahamble@broadcom.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/cpufreq/exynos4210-cpufreq.c')
0 files changed, 0 insertions, 0 deletions