patch-2.4.19 linux-2.4.19/include/asm-parisc/pgtable.h
Next file: linux-2.4.19/include/asm-parisc/siginfo.h
Previous file: linux-2.4.19/include/asm-parisc/pgalloc.h
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-parisc/pgtable.h
- Orig date:
Sun Nov 11 10:20:21 2001
diff -urN linux-2.4.18/include/asm-parisc/pgtable.h linux-2.4.19/include/asm-parisc/pgtable.h
@@ -275,7 +275,6 @@
* Permanent address of a page. Obviously must never be
* called on a highmem page.
*/
-#define page_address(page) ({ if (!(page)->virtual) BUG(); (page)->virtual; })
#define __page_address(page) ({ if (PageHighMem(page)) BUG(); PAGE_OFFSET + (((page) - mem_map) << PAGE_SHIFT); })
#define pages_to_mb(x) ((x) >> (20-PAGE_SHIFT))
#define pte_page(x) (mem_map+pte_pagenr(x))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)