original_kernel/arch
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
..
alpha
arm [ARM] 2871/1: Fixes an issue with gettimeofday not working correctly on Intel IOP3xx processors 2005-09-07 17:24:36 +01:00
arm26
cris [PATCH] arch/cris/Kconfig.debug: use lib/Kconfig.debug 2005-09-05 00:06:19 -07:00
frv
h8300
i386 [PATCH] uml: SYSEMU: slight cleanup and speedup 2005-09-05 00:06:20 -07:00
ia64
m32r
m68k [PATCH] m68k: cleanup inline mem functions 2005-09-05 00:06:19 -07:00
m68knommu Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2005-09-06 00:35:51 -07:00
mips Merge master.kernel.org:/pub/scm/linux/kernel/git/sam/kbuild 2005-09-06 00:35:51 -07:00
parisc
ppc [PATCH] swsusp: switch pm_message_t to struct 2005-09-05 00:06:16 -07:00
ppc64 [PATCH] remove linux/version.h include from arch/ppc64 2005-09-06 16:57:46 +10:00
s390 [PATCH] s390: compat system calls 2005-09-05 00:06:29 -07:00
sh
sh64 [PATCH] arch/sh64/Kconfig: doesn't need it's own LOG_BUF_SHIFT 2005-09-05 00:06:09 -07:00
sparc
sparc64 [SPARC64]: Don't include drivers/firmware/Kconfig 2005-09-05 23:34:13 -07:00
um [PATCH] uml: fix x86_64 page leak 2005-09-05 00:06:24 -07:00
v850
x86_64 [PATCH] swsusp: fix remaining u32 vs. pm_message_t confusion 2005-09-05 00:06:15 -07:00
xtensa