patch-2.4.19 linux-2.4.19/include/asm-m68k/motorola_pgtable.h
Next file: linux-2.4.19/include/asm-m68k/page.h
Previous file: linux-2.4.19/include/asm-m68k/machdep.h
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-m68k/motorola_pgtable.h
- Orig date:
Tue Dec 5 12:43:48 2000
diff -urN linux-2.4.18/include/asm-m68k/motorola_pgtable.h linux-2.4.19/include/asm-m68k/motorola_pgtable.h
@@ -151,9 +151,6 @@
#define pgd_bad(pgd) ((pgd_val(pgd) & _DESCTYPE_MASK) != _PAGE_TABLE)
#define pgd_present(pgd) (pgd_val(pgd) & _PAGE_TABLE)
#define pgd_clear(pgdp) ({ pgd_val(*pgdp) = 0; })
-/* 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))
#define pte_ERROR(e) \
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)