debuggers.hg

changeset 3322:361671727b96

bitkeeper revision 1.1159.187.68 (41c00a2crw4RVTLhiAnW6LXLh0aDMw)

Fix 3DNOW on Linux 2.4.
author kaf24@scramble.cl.cam.ac.uk
date Wed Dec 15 09:55:56 2004 +0000 (2004-12-15)
parents 7a1b61b77a0b
children 0cbf74c61595 d23fd69d83de
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 22:59:48 2004 +0000
     1.2 +++ b/linux-2.4.28-xen-sparse/arch/xen/mm/init.c	Wed Dec 15 09:55:56 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;