patch-2.4.19 linux-2.4.19/include/asm-sparc/pgtable.h

Next file: linux-2.4.19/include/asm-sparc/sbus.h
Previous file: linux-2.4.19/include/asm-sparc/pgalloc.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-sparc/pgtable.h linux-2.4.19/include/asm-sparc/pgtable.h
@@ -293,9 +293,6 @@
 #define page_pte_prot(page, prot)	mk_pte(page, prot)
 #define page_pte(page)			page_pte_prot(page, __pgprot(0))
 
-/* Permanent address of a page. */
-#define page_address(page)  ((page)->virtual)
-
 BTFIXUPDEF_CALL(struct page *, pte_page, pte_t)
 #define pte_page(pte) BTFIXUP_CALL(pte_page)(pte)
 
@@ -348,6 +345,7 @@
 extern unsigned int pg_iobits;
 
 #define flush_icache_page(vma, pg)      do { } while(0)
+#define flush_icache_user_range(vma,pg,adr,len)	do { } while (0)
 
 /* Certain architectures need to do special things when pte's
  * within a page table are directly modified.  Thus, the following

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)