]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] powerpc: reorg RTAS delay code
authorJohn Rose <johnrose@austin.ibm.com>
Mon, 5 Jun 2006 21:31:48 +0000 (16:31 -0500)
committerPaul Mackerras <paulus@samba.org>
Fri, 9 Jun 2006 11:21:06 +0000 (21:21 +1000)
commit7b4d99dcff76f9e42178e8edf91a97371a57d86a
treee5e95d50b093f0eab31e7856b9f596caa6e097af
parentde8b5dc352f1f125955631f9414ae9be3cd8e804
[PATCH] powerpc: reorg RTAS delay code

This patch attempts to handle RTAS "busy" return codes in a more simple
and consistent manner.  Typical callers of RTAS shouldn't have to
manage wait times and delay calls.

This patch also changes the kernel to use msleep() rather than udelay()
when a runtime delay is necessary.  This will avoid CPU soft lockups
for extended delay conditions.

Signed-off-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/rtas-rtc.c
arch/powerpc/kernel/rtas.c
arch/powerpc/kernel/rtas_flash.c
include/asm-powerpc/rtas.h