From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sun, 28 Jan 2018 13:53:02 -0500 Subject: [U-Boot] atomic-long: Fix warnings on arm64 In-Reply-To: <20180127031104.2353-1-bradleybolen@gmail.com> References: <20180127031104.2353-1-bradleybolen@gmail.com> Message-ID: <20180128185302.GF20149@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: