summaryrefslogtreecommitdiffstats
path: root/arch/hexagon/Makefile
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2012-05-29 08:28:38 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2012-05-30 09:07:56 +0200
commit6b894a409e8c0fcbd0ea30f5b013e33b9c4b28a1 (patch)
treea8f7ccdac4e6a152a41f11e804519f7f13af913a /arch/hexagon/Makefile
parent0c44ca71f59447a5e602c45728829d1cb6a1b4b5 (diff)
s390/cmpxchg: fix compile warnings specific to s390
The cmpxchg macros and functions are a bit different than on other architectures. In particular the macros do not store the return value of a __cmpxchg function call in a variable before returning the value. This causes compile warnings that only occur on s390 like this one: net/ipv4/af_inet.c: In function 'build_ehash_secret': net/ipv4/af_inet.c:241:2: warning: value computed is not used [-Wunused-value] To get rid of these warnings use the same construct that we already use for the xchg macro, which was introduced for the same reason. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/hexagon/Makefile')
0 files changed, 0 insertions, 0 deletions