search for: a5bc91a

Displaying 1 result from an estimated 1 matches for "a5bc91a".

Did you mean: 85bc1a
2008 Aug 26
0
[PATCH] xen: wrap load_cr3() in manage.c for ia64 support.
..."xen-ops.h" #include "mmu.h" +void xen_pre_device_suspend(void) +{ + load_cr3(swapper_pg_dir); +} + void xen_pre_suspend(void) { xen_start_info->store_mfn = mfn_to_pfn(xen_start_info->store_mfn); diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c index a5bc91a..c7f2953 100644 --- a/drivers/xen/manage.c +++ b/drivers/xen/manage.c @@ -39,8 +39,7 @@ static int xen_suspend(void *data) BUG_ON(!irqs_disabled()); - load_cr3(swapper_pg_dir); - + xen_pre_device_suspend(); err = device_power_down(PMSG_SUSPEND); if (err) { printk(KERN_ERR "xen_sus...