linux/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 rename thread_info to stack 2007-05-09 12:30:56 -07:00
auxio.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
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 [SPARC32]: Fix sparc32 kdebug changes. 2007-05-14 03:22:08 -07:00
idprom.c
init_task.c
ioport.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
irq.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
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 [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
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 header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
smp.c sched: zap the migration init / cache-hot balancing code 2007-07-09 18:51:57 +02:00
sparc-stub.c
sparc_ksyms.c
sun4c_irq.c IRQ: Use the new typedef for interrupt handler function pointers 2006-10-09 12:19:47 +01:00
sun4d_irq.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
sun4d_smp.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sun4m_irq.c [SPARC]: Spelling fixes. 2007-05-11 21:39:20 -07:00
sun4m_smp.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sun4setup.c
sunos_asm.S
sunos_ioctl.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
sys_solaris.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
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 Report that kernel is tainted if there was an OOPS 2007-07-17 10:23:02 -07:00
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