diff options
author | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-12-15 09:55:56 +0000 |
---|---|---|
committer | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-12-15 09:55:56 +0000 |
commit | 3880d16aa8db5beb3f4e5f6c429f839a4a777480 (patch) | |
tree | b667fbb92a0077df426c8ec94f4c29e7f4189bd2 | |
parent | 08b6b6657945d51dabba8c9ce7f26db2bbbddb6b (diff) | |
download | xen-3880d16aa8db5beb3f4e5f6c429f839a4a777480.tar.gz xen-3880d16aa8db5beb3f4e5f6c429f839a4a777480.tar.bz2 xen-3880d16aa8db5beb3f4e5f6c429f839a4a777480.zip |
bitkeeper revision 1.1159.187.68 (41c00a2crw4RVTLhiAnW6LXLh0aDMw)
Fix 3DNOW on Linux 2.4.
-rw-r--r-- | linux-2.4.28-xen-sparse/arch/xen/mm/init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-2.4.28-xen-sparse/arch/xen/mm/init.c b/linux-2.4.28-xen-sparse/arch/xen/mm/init.c index dd622aebda..980983fd03 100644 --- a/linux-2.4.28-xen-sparse/arch/xen/mm/init.c +++ b/linux-2.4.28-xen-sparse/arch/xen/mm/init.c @@ -36,6 +36,10 @@ #include <asm/apic.h> #include <asm/tlb.h> +/* XEN: We *cannot* use mmx_clear_page() this early. Force dumb memset(). */ +#undef clear_page +#define clear_page(page) memset((void *)(page), 0, PAGE_SIZE) + mmu_gather_t mmu_gathers[NR_CPUS]; unsigned long highstart_pfn, highend_pfn; static unsigned long totalram_pages; |