ia64/xen-unstable

changeset 4821:ca41104d5f53

bitkeeper revision 1.1389.5.48 (42809be2MsF_yD6mn_kF4ZL-8OJjkA)

Fix ASSERT() caused by cleanup to map_domain_mem_with_cache() changes.
author mafetter@fleming.research
date Tue May 10 11:32:50 2005 +0000 (2005-05-10)
parents d2a202436c1c
children b6ffd9347015
files xen/arch/x86/mm.c
line diff
     1.1 --- a/xen/arch/x86/mm.c	Tue May 10 11:15:37 2005 +0000
     1.2 +++ b/xen/arch/x86/mm.c	Tue May 10 11:32:50 2005 +0000
     1.3 @@ -1992,7 +1992,7 @@ int do_mmu_update(
     1.4                  printk("privileged guest dom%d requests pfn=%lx to map mfn=%lx for dom%d\n",
     1.5                         d->id, gpfn, mfn, FOREIGNDOM->id);
     1.6                  set_machinetophys(mfn, gpfn);
     1.7 -                set_p2m_entry(FOREIGNDOM, gpfn, mfn, NULL, NULL);
     1.8 +                set_p2m_entry(FOREIGNDOM, gpfn, mfn, &sh_mapcache, &mapcache);
     1.9                  okay = 1;
    1.10                  shadow_unlock(FOREIGNDOM);
    1.11                  break;