| Date | Mon, 2 Jun 2008 18:21:44 +0900 | From | Isaku Yamahata <> | Subject | Re: [Xen-devel] [PATCH 10 of 12] xen: implement save/restore |
| |
On Fri, May 23, 2008 at 02:41:17PM +0100, Jeremy Fitzhardinge wrote: > diff --git a/drivers/xen/manage.c b/drivers/xen/manage.c > --- a/drivers/xen/manage.c > +++ b/drivers/xen/manage.c ... > +static int xen_suspend(void *data) > +{ > + int *cancelled = data; > + > + BUG_ON(!irqs_disabled()); > + > + load_cr3(swapper_pg_dir);
What is the purpose of load_cr3() here? I'd like to make this load_cr3() more arch generic for ia64 support. (or eliminate it if possible) -- yamahata
|