]> err.no Git - linux-2.6/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)
commit507279db1819aacf4022e790b3fc8bc8cf56debf
treee5e95d50b093f0eab31e7856b9f596caa6e097af
parent4a3ecc622465dbff7404139a8ad18bf4cb99f836
[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