Re: Is suspend() function working?

2007-11-04 Thread Rene Herman
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

Is suspend() function working?

2007-11-03 Thread Peter Teoh
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