linux/arch/sparc
Mark Fortescue 196bffa5dc [SPARC32]: Fix rounding errors in ndelay/udelay implementation.
__ndelay and __udelay have not been delayung >= specified time.
The problem with __ndelay has been tacked down to the rounding of the
multiplier constant. By changing this, delays > app 18us are correctly
calculated.
The problem with __udelay has also been tracked down to rounding issues.
Changing the multiplier constant (to match that used in sparc64) corrects
for large delays and adding in a rounding constant corrects for trunctaion
errors in the claculations.
Many short delays will return without looping. This is not an error as there
is the fixed delay of doing all the maths to calculate the loop count.

Signed-off-by: Mark Fortescue <mark@mtfhpc.demon.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-07-21 19:17:41 -07:00
..
boot
kernel [SPARC32]: Fix rounding errors in ndelay/udelay implementation. 2007-07-21 19:17:41 -07:00
lib [SPARC32]: Build fix. 2007-05-31 01:52:51 -07:00
math-emu
mm mm: fault feedback #2 2007-07-19 10:04:41 -07:00
oprofile
prom [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
defconfig [SPARC32]: Update defconfig. 2007-05-14 03:53:12 -07:00
Kconfig Start split out of common open firmware code 2007-07-20 13:28:41 +10:00
Kconfig.debug
Makefile