On 11/04/2007 01:35 AM, Peter Teoh wrote:
In arch/x86/kerne/apm_32.c there is the suspend() function - question
is why immediately after calling save_processor_state() it will call
restore_processor_state()?
It won't -- the system enters suspend mode in the set_system_power_state()
call
In arch/x86/kerne/apm_32.c there is the suspend() function - question
is why immediately after calling save_processor_state() it will call
restore_processor_state()? And subsequently the other half of the
routine is focusing on restoration?
static int suspend(int vetoable)
{
int