coreboot-kgpe-d16/src/cpu/x86
David Hendricks ae0e8d3613 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>
2013-03-08 23:14:26 +01:00
..
16bit Revert wbind added to the reset_vector 2012-04-20 09:09:42 +02:00
32bit Remove whitespace. 2012-02-17 19:04:31 +01:00
cache post code: Replaced hard-coded post code with macro 2012-01-23 22:50:56 +01:00
lapic GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
mtrr Intel Sandybridge: add reserved memory as resources 2012-08-01 10:57:17 +02:00
name GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
pae Revert "Use broadcast SIPI to startup siblings" 2012-07-31 06:46:02 +02:00
smm Eliminate do_div(). 2013-03-08 23:14:26 +01:00
tsc Rename build system variables to be more intuitive, and 2010-09-30 16:55:02 +00:00
fpu_enable.inc GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
Kconfig Remove AMD special case for LAPIC based udelay() 2012-11-27 23:51:52 +01:00
sse_enable.inc GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00