ia64/xen-unstable

changeset 4179:77fce201bf8b

bitkeeper revision 1.1236.34.11 (423804f1RncutPGYUEnLp5awQB0EYg)

No need for wbinvd patches in agp driver in unstable tree.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Wed Mar 16 10:05:37 2005 +0000 (2005-03-16)
parents 472fc0582569
children 5b5ebfc03e24 e4eded7d65dd
files patches/linux-2.6.11/agpgart.patch
line diff
     1.1 --- a/patches/linux-2.6.11/agpgart.patch	Wed Mar 16 09:51:15 2005 +0000
     1.2 +++ b/patches/linux-2.6.11/agpgart.patch	Wed Mar 16 10:05:37 2005 +0000
     1.3 @@ -350,22 +350,3 @@ diff -rup pristine-linux-2.6.11/drivers/
     1.4   
     1.5   	for (i = 0; i < num_entries; i++) {
     1.6   		agp_bridge->gatt_table[i] =
     1.7 -diff -rup pristine-linux-2.6.11/include/asm-i386/agp.h linux-2.6.11/include/asm-i386/agp.h
     1.8 ---- pristine-linux-2.6.11/include/asm-i386/agp.h	2005-03-02 07:37:31.000000000 +0000
     1.9 -+++ linux-2.6.11/include/asm-i386/agp.h	2005-03-11 00:35:21.331193069 +0000
    1.10 -@@ -3,6 +3,7 @@
    1.11 - 
    1.12 - #include <asm/pgtable.h>
    1.13 - #include <asm/cacheflush.h>
    1.14 -+#include <asm/system.h>
    1.15 - 
    1.16 - /* 
    1.17 -  * Functions to keep the agpgart mappings coherent with the MMU.
    1.18 -@@ -19,6 +20,6 @@ int unmap_page_from_agp(struct page *pag
    1.19 - /* Could use CLFLUSH here if the cpu supports it. But then it would
    1.20 -    need to be called for each cacheline of the whole page so it may not be 
    1.21 -    worth it. Would need a page for it. */
    1.22 --#define flush_agp_cache() asm volatile("wbinvd":::"memory")
    1.23 -+#define flush_agp_cache() wbinvd()
    1.24 - 
    1.25 - #endif