ia64/xen-unstable

changeset 837:a9b037118083

bitkeeper revision 1.519 (3f8c8d79EqsizxTJbNNI85MNTKRl6g)

memory.c:
Fix a bug introduced in teh previous bug fix...
author kaf24@scramble.cl.cam.ac.uk
date Tue Oct 14 23:57:45 2003 +0000 (2003-10-14)
parents 4d5ff0cbdbfb
children 71f9c171157e
files xen/common/memory.c
line diff
     1.1 --- a/xen/common/memory.c	Tue Oct 14 23:42:37 2003 +0000
     1.2 +++ b/xen/common/memory.c	Tue Oct 14 23:57:45 2003 +0000
     1.3 @@ -289,7 +289,7 @@ int map_ldt_shadow_page(unsigned int off
     1.4      /* Success! */
     1.5      get_page_type(page);
     1.6      get_page_tot(page);
     1.7 -    p->mm.perdomain_pt[off+16] = mk_l1_pgentry((l1e&PAGE_MASK)|_PAGE_RW);
     1.8 +    p->mm.perdomain_pt[off+16] = mk_l1_pgentry(l1e|_PAGE_RW);
     1.9      p->mm.shadow_ldt_mapcnt++;
    1.10  
    1.11      ret = 0;