Re: 2.6.9-rc2-mm2

Stefan Seyfried
2004-09-22T21:42:21Z

Hi,

Andrew Morton wrote:

> swsusp-fix-highmem.patch
> swsusp: fix highmem

this one should actually be

@@ -854,8 +854,10 @@ int swsusp_suspend(void)
local_irq_disable();
save_processor_state();
error = swsusp_arch_suspend();
+ /* Restore control flow magically appears here */
restore_processor_state();
+ restore_highmem();
local_irq_enable();
return error;

so that local_irq_enable() is _after_ restore_highmem(). It took Pavel
and me quite some time to debug the mysterious crashes on some highmem
machines...

Stefan