[POWERPC] check firmware state before suspending
authorDave C Boutcher <boutcher@cs.umn.edu>
Tue, 13 Jun 2006 00:49:20 +0000 (19:49 -0500)
committerPaul Mackerras <paulus@samba.org>
Thu, 15 Jun 2006 09:31:27 +0000 (19:31 +1000)
Currently the kernel blindly halts all the processors and calls the
ibm,suspend-me rtas call.  If the firmware is not in the correct
state, we then re-start all the processors and return.  It is much
smarter to first check the firmware state, and only if it is waiting,
call the ibm,suspend-me call.

Signed-off-by: Paul Mackerras <paulus@samba.org>

No differences found