android_kernel_xiaomi_sm8350/arch/arm/mach-iop3xx
Adam Brooks 7691d931aa [ARM] 2871/1: Fixes an issue with gettimeofday not working correctly on Intel IOP3xx processors
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>
2005-09-07 17:24:36 +01:00
..
common.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iop321-irq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iop321-pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iop321-setup.c [PATCH] ARM: Remove machine description macros 2005-07-03 17:38:58 +01:00
iop321-time.c [ARM] 2871/1: Fixes an issue with gettimeofday not working correctly on Intel IOP3xx processors 2005-09-07 17:24:36 +01:00
iop331-irq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iop331-pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iop331-setup.c [PATCH] ARM: Remove machine description macros 2005-07-03 17:38:58 +01:00
iop331-time.c [ARM] 2871/1: Fixes an issue with gettimeofday not working correctly on Intel IOP3xx processors 2005-09-07 17:24:36 +01:00
iq31244-mm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iq31244-pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iq80321-mm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iq80321-pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iq80331-mm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iq80331-pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iq80332-mm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iq80332-pci.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile.boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00