
28 Jan
2018
28 Jan
'18
7:53 p.m.
On Fri, Jan 26, 2018 at 10:11:04PM -0500, Bradley Bolen wrote:
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
Applied to u-boot/master, thanks!
[Michal, I think this ends up being easier to maintain long-term than your RFC patch that removed all of these functions]
--
Tom