From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 3 Jun 2016 09:59:44 -0400 Subject: [U-Boot] [U-Boot,07/12] arm: lib: Import __do_div64 from Linux In-Reply-To: <1464278507-5092-7-git-send-email-marex@denx.de> References: <1464278507-5092-7-git-send-email-marex@denx.de> Message-ID: <20160603135944.GY7419@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 Thu, May 26, 2016 at 06:01:42PM +0200, Marek Vasut wrote: > Import __do_div64 from Linux 4.4.6 , commit 0d1912303e54ed1b2a371be0bba51c384dd57326 > on arm32. This function is for some toolchains, which generate _udivmoddi4() > for 64 bit division. > > Since we do not support stack unwinding, instead of importing the whole > asm/unwind.h and all the baggage, this patch defines empty UNWIND() macro. > > This patch also defines CONFIG_THUMB2_KERNEL and CONFIG_ARM_ASM_UNIFIED > which is necessary for correct build of these files both in ARM and > Thumb mode, just like Linux does. > > Signed-off-by: Marek Vasut > Cc: Albert Aribaud > Cc: Masahiro Yamada > Cc: Simon Glass > Cc: Tom Rini > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: