forked from luck/tmp_suning_uos_patched
7691d931aa
Patch from Adam Brooks The current gettimeofday implementation for the IOP3xx processors reads the contents of the timer interrupt register and does math on the value to figure out exactly what time it is. To do this it multiplies the contents of the timer register with a large constant. The result is then divided by a large constant. Unfortunately the result of the first multiplication is often too large for the register to hold. The solution is to combine the two large constants to a single smaller constant at compile time. Then the timer value can be divided by single smaller constant without any overflow issues. Signed-off-by: Adam Brooks <adam.j.brooks@intel.com> Signed-off-by: Deepak Saxena <dsaxena@plexity.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> |
||
---|---|---|
.. | ||
common.c | ||
iop321-irq.c | ||
iop321-pci.c | ||
iop321-setup.c | ||
iop321-time.c | ||
iop331-irq.c | ||
iop331-pci.c | ||
iop331-setup.c | ||
iop331-time.c | ||
iq31244-mm.c | ||
iq31244-pci.c | ||
iq80321-mm.c | ||
iq80321-pci.c | ||
iq80331-mm.c | ||
iq80331-pci.c | ||
iq80332-mm.c | ||
iq80332-pci.c | ||
Kconfig | ||
Makefile | ||
Makefile.boot |