patch-2.4.21 linux-2.4.21/include/asm-ia64/pgtable.h
Next file: linux-2.4.21/include/asm-ia64/processor.h
Previous file: linux-2.4.21/include/asm-ia64/pgalloc.h
Back to the patch index
Back to the overall index
- Lines: 48
- Date:
2003-06-13 07:51:38.000000000 -0700
- Orig file:
linux-2.4.20/include/asm-ia64/pgtable.h
- Orig date:
2002-11-28 15:53:15.000000000 -0800
diff -urN linux-2.4.20/include/asm-ia64/pgtable.h linux-2.4.21/include/asm-ia64/pgtable.h
@@ -198,13 +198,9 @@
#define VMALLOC_START (0xa000000000000000 + 3*PAGE_SIZE)
#define VMALLOC_VMADDR(x) ((unsigned long)(x))
-#ifdef CONFIG_VIRTUAL_MEM_MAP
-# define VMALLOC_END_INIT (0xa000000000000000 + (1UL << (4*PAGE_SHIFT - 9)))
-# define VMALLOC_END vmalloc_end
- extern unsigned long vmalloc_end;
-#else
-# define VMALLOC_END (0xa000000000000000 + (1UL << (4*PAGE_SHIFT - 9)))
-#endif
+#define VMALLOC_END_INIT (0xa000000000000000 + (1UL << (4*PAGE_SHIFT - 9)))
+#define VMALLOC_END vmalloc_end
+extern unsigned long vmalloc_end;
/*
* Conversion functions: convert a page and protection to a page entry,
@@ -284,11 +280,7 @@
* works bypasses the caches, but does allow for consecutive writes to
* be combined into single (but larger) write transactions.
*/
-#ifdef CONFIG_MCKINLEY_A0_SPECIFIC
-# define pgprot_writecombine(prot) prot
-#else
-# define pgprot_writecombine(prot) __pgprot((pgprot_val(prot) & ~_PAGE_MA_MASK) | _PAGE_MA_WC)
-#endif
+#define pgprot_writecombine(prot) __pgprot((pgprot_val(prot) & ~_PAGE_MA_MASK) | _PAGE_MA_WC)
/*
* Return the region index for virtual address ADDRESS.
@@ -448,8 +440,6 @@
*/
#define pgtable_cache_init() do { } while (0)
-#ifdef CONFIG_VIRTUAL_MEM_MAP
-
/* arch mem_map init routines are needed due to holes in a virtual mem_map */
#define HAVE_ARCH_MEMMAP_INIT
@@ -460,8 +450,6 @@
struct page *start, struct page *end, int zone,
unsigned long start_paddr, int highmem);
-#endif /* CONFIG_VIRTUAL_MEM_MAP */
-
# endif /* !__ASSEMBLY__ */
/*
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)