debuggers.hg

changeset 3323:0cbf74c61595

bitkeeper revision 1.1159.183.58 (41c00a4bcegoLJhTFK6otLjaxKbuWg)

Merge scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
author kaf24@scramble.cl.cam.ac.uk
date Wed Dec 15 09:56:27 2004 +0000 (2004-12-15)
parents 8724fc0ba838 361671727b96
children 86e3ae8351cd
files linux-2.4.28-xen-sparse/arch/xen/mm/init.c
line diff
     1.1 --- a/linux-2.4.28-xen-sparse/arch/xen/mm/init.c	Tue Dec 14 23:00:46 2004 +0000
     1.2 +++ b/linux-2.4.28-xen-sparse/arch/xen/mm/init.c	Wed Dec 15 09:56:27 2004 +0000
     1.3 @@ -36,6 +36,10 @@
     1.4  #include <asm/apic.h>
     1.5  #include <asm/tlb.h>
     1.6  
     1.7 +/* XEN: We *cannot* use mmx_clear_page() this early. Force dumb memset(). */
     1.8 +#undef clear_page
     1.9 +#define clear_page(page) memset((void *)(page), 0, PAGE_SIZE)
    1.10 +
    1.11  mmu_gather_t mmu_gathers[NR_CPUS];
    1.12  unsigned long highstart_pfn, highend_pfn;
    1.13  static unsigned long totalram_pages;