patch-2.4.21 linux-2.4.21/include/asm-ia64/page.h
Next file: linux-2.4.21/include/asm-ia64/pal.h
Previous file: linux-2.4.21/include/asm-ia64/offsets.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2003-06-13 07:51:38.000000000 -0700
- Orig file:
linux-2.4.20/include/asm-ia64/page.h
- Orig date:
2002-11-28 15:53:15.000000000 -0800
diff -urN linux-2.4.20/include/asm-ia64/page.h linux-2.4.21/include/asm-ia64/page.h
@@ -65,13 +65,10 @@
# define virt_to_page(kaddr) (mem_map + MAP_NR_DENSE(kaddr))
# define page_to_phys(page) ((page - mem_map) << PAGE_SHIFT)
#endif
-#ifdef CONFIG_VIRTUAL_MEM_MAP
- struct page;
- extern int ia64_page_valid (struct page *);
-# define VALID_PAGE(page) (((page - mem_map) < max_mapnr) && ia64_page_valid(page))
-#else
-# define VALID_PAGE(page) ((page - mem_map) < max_mapnr)
-#endif
+
+struct page;
+extern int ia64_page_valid (struct page *);
+#define VALID_PAGE(page) (((page - mem_map) < max_mapnr) && ia64_page_valid(page))
typedef union ia64_va {
struct {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)