ia64/xen-unstable

changeset 2075:a3e585a0c6ca

bitkeeper revision 1.1144 (4110b7750uPevZ3W0Ib2jk8KgCIsCQ)

Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xeno.bk-26dom0
author cl349@freefall.cl.cam.ac.uk
date Wed Aug 04 10:16:21 2004 +0000 (2004-08-04)
parents 4678a5d8fc54 5c45177abff2
children 7b965136e215 65dffdb7668a 75190e7c35ec
files linux-2.6.7-xen-sparse/arch/xen/i386/kernel/ldt.c
line diff
     1.1 --- a/linux-2.6.7-xen-sparse/arch/xen/i386/kernel/ldt.c	Wed Aug 04 10:09:07 2004 +0000
     1.2 +++ b/linux-2.6.7-xen-sparse/arch/xen/i386/kernel/ldt.c	Wed Aug 04 10:16:21 2004 +0000
     1.3 @@ -71,6 +71,9 @@ static int alloc_ldt(mm_context_t *pc, i
     1.4  #endif
     1.5  	}
     1.6  	if (oldsize) {
     1.7 +		make_pages_writeable(oldldt, (oldsize * LDT_ENTRY_SIZE) /
     1.8 +			PAGE_SIZE);
     1.9 +		flush_page_update_queue();
    1.10  		if (oldsize*LDT_ENTRY_SIZE > PAGE_SIZE)
    1.11  			vfree(oldldt);
    1.12  		else