Re: 2.6.9-rc2-mm2

From: Stefan Seyfried
Date: Wed Sep 22 2004 - 16:44:20 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/