kernel-ark/arch/um
Paolo 'Blaisorblade' Giarrusso 10fa1155a2 [PATCH] uml: fix unreasonably long udelay
Currently we have a confused udelay implementation.

* __const_udelay does not accept usecs but xloops in i386 and x86_64
* our implementation requires usecs as arg
* it gets a xloops count when called by asm/arch/delay.h

Bugs related to this (extremely long shutdown times) where reported by some
x86_64 users, especially using Device Mapper.

To hit this bug, a compile-time constant time parameter must be passed -
that's why UML seems to work most times.  Fix this with a simple udelay
implementation.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-04-02 10:06:08 -07:00
..
drivers [PATCH] uml: irq locking fixes 2007-03-29 08:22:24 -07:00
include [PATCH] uml: fix compilation problems 2007-03-29 08:22:25 -07:00
kernel [PATCH] uml: fix LVM crash 2007-03-29 08:22:24 -07:00
os-Linux
scripts
sys-i386 [PATCH] uml: fix unreasonably long udelay 2007-04-02 10:06:08 -07:00
sys-ia64
sys-ppc
sys-x86_64 [PATCH] uml: fix unreasonably long udelay 2007-04-02 10:06:08 -07:00
config.release
defconfig
Kconfig
Kconfig.char
Kconfig.debug
Kconfig.i386
Kconfig.net
Kconfig.scsi
Kconfig.x86_64
Makefile
Makefile-i386
Makefile-ia64
Makefile-os-Linux
Makefile-ppc
Makefile-skas
Makefile-tt
Makefile-x86_64