the following patch was just integrated into master: commit ae0e8d3613ad9cb6872c58cd95fc9774b3b17f5b Author: David Hendricks dhendrix@chromium.org Date: Wed Mar 6 20:43:55 2013 -0800
Eliminate do_div().
This eliminates the use of do_div() in favor of using libgcc functions.
This was tested by building and booting on Google Snow (ARMv7) and Qemu (x86). printk()s which use division in vtxprintf() look good.
Change-Id: Icad001d84a3c05bfbf77098f3d644816280b4a4d Signed-off-by: Gabe Black gabeblack@chromium.org Signed-off-by: David Hendricks dhendrix@chromium.org Reviewed-on: http://review.coreboot.org/2606 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel paulepanter@users.sourceforge.net Reviewed-by: Ronald G. Minnich rminnich@gmail.com
Build-Tested: build bot (Jenkins) at Thu Mar 7 22:09:42 2013, giving +1 Reviewed-By: David Hendricks dhendrix@chromium.org at Thu Mar 7 22:34:20 2013, giving +1 Reviewed-By: Ronald G. Minnich rminnich@gmail.com at Fri Mar 8 00:43:59 2013, giving +1 See http://review.coreboot.org/2606 for details.
-gerrit