summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410
diff options
context:
space:
mode:
authorAdam Brooks2005-09-07 18:24:36 +0200
committerRussell King2005-09-07 18:24:36 +0200
commit7691d931aa55409ae3339d541ec0b87ab0a2adae (patch)
treefded2593c6d7e7a8e72728601573c6db7ceaa115 /arch/arm/mach-s3c2410
parent[ARM] 2883/1: PXA Sharpsl: Add detection of new PXA based Zaurii machine types (diff)
downloadkernel-qcow2-linux-7691d931aa55409ae3339d541ec0b87ab0a2adae.tar.gz
kernel-qcow2-linux-7691d931aa55409ae3339d541ec0b87ab0a2adae.tar.xz
kernel-qcow2-linux-7691d931aa55409ae3339d541ec0b87ab0a2adae.zip
[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>
Diffstat (limited to 'arch/arm/mach-s3c2410')
0 files changed, 0 insertions, 0 deletions