patch-2.4.0-test4 linux/include/asm-i386/pgtable.h
Next file: linux/include/asm-ia64/elf.h
Previous file: linux/include/asm-i386/elf.h
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Wed Jul 12 22:01:34 2000
- Orig file:
v2.4.0-test3/linux/include/asm-i386/pgtable.h
- Orig date:
Thu Mar 2 14:36:23 2000
diff -u --recursive --new-file v2.4.0-test3/linux/include/asm-i386/pgtable.h linux/include/asm-i386/pgtable.h
@@ -244,7 +244,7 @@
* 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) ((page)->virtual)
#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)