patch-2.1.101 linux/include/asm-mips/pgtable.h

Next file: linux/include/asm-mips/prctl.h
Previous file: linux/include/asm-mips/pci.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/include/asm-mips/pgtable.h linux/include/asm-mips/pgtable.h
@@ -26,12 +26,6 @@
 extern void (*flush_page_to_ram)(unsigned long page);
 #define flush_icache_range(start, end) flush_cache_all()
 
-/*
- * Prototype of the DMA related cacheflushing stuff.
- */
-extern void (*flush_cache_pre_dma_out)(unsigned long start, unsigned long size);
-extern void (*flush_cache_post_dma_in)(unsigned long start, unsigned long size);
-
 /* TLB flushing:
  *
  *  - flush_tlb_all() flushes all processes TLB entries
@@ -127,8 +121,7 @@
 
 #define _PAGE_CHG_MASK  (PAGE_MASK | __READABLE | __WRITEABLE | _CACHE_MASK)
 
-#define PAGE_NONE	__pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
-                        _CACHE_CACHABLE_NONCOHERENT)
+#define PAGE_NONE	__pgprot(0)
 #define PAGE_SHARED     __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
 			_CACHE_CACHABLE_NONCOHERENT)
 #define PAGE_COPY       __pgprot(_PAGE_PRESENT | _PAGE_READ | \

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov