Re: amd64-agp vs. swsusp

Michal Schmidt
2005-07-21T01:25:22Z

Rafael J. Wysocki wrote:
> On Thursday, 21 of July 2005 00:07, Michal Schmidt wrote:
>>I also tried putting a printk before restore_processor_state(), but I'm
>>not sure if it is safe to use printk there.
>
>
> Yes, it is, but you may be unable to see the message if the box reboots before
> it can be displayed.

OK, but then I also tried putting a 5s long busy wait there and the
reset was not delayed. Therefore, the reset must be occurring before
restore_processor_state().
Or is there a reason why
for(i=0; i<5000; i++)
udelay(1000);
wouldn't work as expected?

Michal