direct-io.hg

changeset 3265:510e8b6f4fae

bitkeeper revision 1.1159.1.476 (41b9ff77QqNYRb0qfaEAPdWrHHIrog)

sync w/ head.
author cl349@arcadians.cl.cam.ac.uk
date Fri Dec 10 19:56:39 2004 +0000 (2004-12-10)
parents fd0d4d8e6193
children dda5ab69e74a
files linux-2.6.9-xen-sparse/arch/xen/i386/kernel/smpboot.c
line diff
     1.1 --- a/linux-2.6.9-xen-sparse/arch/xen/i386/kernel/smpboot.c	Fri Dec 10 18:49:15 2004 +0000
     1.2 +++ b/linux-2.6.9-xen-sparse/arch/xen/i386/kernel/smpboot.c	Fri Dec 10 19:56:39 2004 +0000
     1.3 @@ -904,7 +904,7 @@ static int __init do_boot_cpu(int apicid
     1.4  		     va < cpu_gdt_descr[cpu].address + cpu_gdt_descr[cpu].size;
     1.5  		     va += PAGE_SIZE, f++) {
     1.6  			ctxt.gdt_frames[f] = virt_to_machine(va) >> PAGE_SHIFT;
     1.7 -			protect_page(swapper_pg_dir, (void *)va, PROT_ON);
     1.8 +			make_page_readonly((void *)va);
     1.9  		}
    1.10  		ctxt.gdt_ents = cpu_gdt_descr[cpu].size / 8;
    1.11  		flush_page_update_queue();