patch-2.4.19 linux-2.4.19/include/asm-m68k/sun3_pgtable.h

Next file: linux-2.4.19/include/asm-m68k/system.h
Previous file: linux-2.4.19/include/asm-m68k/siginfo.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.18/include/asm-m68k/sun3_pgtable.h linux-2.4.19/include/asm-m68k/sun3_pgtable.h
@@ -123,9 +123,6 @@
 
 /* FIXME: this is only a guess */
 #define pte_pagenr(pte)		((__pte_page(pte) - PAGE_OFFSET) >> PAGE_SHIFT)
-/* Permanent address of a page. */
-#define page_address(page)	({ if (!(page)->virtual) BUG(); (page)->virtual; })
-#define __page_address(page)	(PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT))
 #define pte_page(pte)		(mem_map+pte_pagenr(pte))
 
 

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