linux-IllusionX/arch/sparc/kernel
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
..
apc.c
asm-offsets.c
auxio.c
cpu.c
devices.c
ebus.c [SPARC]: Make sure dev_archdata is filled in for all devices. 2007-07-20 17:13:42 -07:00
entry.S [SPARC32]: Fix rounding errors in ndelay/udelay implementation. 2007-07-21 19:17:41 -07:00
errtbls.c
etrap.S
head.S
idprom.c
init_task.c
ioport.c
irq.c
led.c
Makefile
module.c
muldiv.c
of_device.c [SPARC]: Make sure dev_archdata is filled in for all devices. 2007-07-20 17:13:42 -07:00
pcic.c
pmc.c
process.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
prom.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
ptrace.c
rtrap.S
sclow.S
semaphore.c
setup.c [SPARC]: Fix serial console device detection. 2007-07-20 16:59:26 -07:00
signal.c
smp.c
sparc-stub.c
sparc_ksyms.c
sun4c_irq.c
sun4d_irq.c
sun4d_smp.c
sun4m_irq.c
sun4m_smp.c
sun4setup.c
sunos_asm.S
sunos_ioctl.c
sys_solaris.c
sys_sparc.c
sys_sunos.c
systbls.S [SPARC]: Add sys_fallocate() entries. 2007-07-19 21:26:47 -07:00
tadpole.c
tick14.c
time.c [SPARC/64] Rename some functions like PowerPC 2007-07-20 14:24:53 +10:00
trampoline.S
traps.c
unaligned.c
vmlinux.lds.S define new percpu interface for shared data 2007-07-19 10:04:44 -07:00
windows.c
wof.S
wuf.S