Searched hist:cfa9b841b2a62ae9ff2568386dcff4b5b54c328a (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/include/asm-generic/ |
| H A D | atomic-long.h | cfa9b841b2a62ae9ff2568386dcff4b5b54c328a Sat Jan 27 03:11:04 UTC 2018 Bradley Bolen <bradleybolen@gmail.com> UPSTREAM: atomic-long: Fix warnings on arm64
Several inline functions in this file reference undefined functions in U-Boot. For example:
atomic-long.h:73:9: warning: implicit declaration of function 'atomic64_sub_and_test' atomic-long.h:80:9: warning: implicit declaration of function 'atomic64_dec_and_test' atomic-long.h:87:9: warning: implicit declaration of function 'atomic64_inc_and_test'
Handle this the same as the 32 bit build by wrapping these functions in a __UBOOT__ check.
Signed-off-by: Bradley Bolen <bradleybolen@gmail.com> (cherry picked from commit 9c3264ce40130966897fb9c1b91c120f588531d0) Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ie1c319851ab53cd23473dfae74d29528b34c318f
|