fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / include / asm-h8300 / pgtable.h
index 7726b1c..8b7c685 100644 (file)
@@ -1,14 +1,13 @@
 #ifndef _H8300_PGTABLE_H
 #define _H8300_PGTABLE_H
 
-#include <linux/config.h>
+#include <asm-generic/4level-fixup.h>
+
 #include <linux/slab.h>
 #include <asm/processor.h>
 #include <asm/page.h>
 #include <asm/io.h>
 
-typedef pte_t *pte_addr_t;
-
 #define pgd_present(pgd)     (1)       /* pages are always present on NO_MM */
 #define pgd_none(pgd)          (0)
 #define pgd_bad(pgd)           (0)
@@ -52,7 +51,13 @@ extern int is_in_rom(unsigned long);
  * No page table caches to initialise
  */
 #define pgtable_cache_init()   do { } while (0)
-#define io_remap_page_range    remap_page_range
+
+#define io_remap_pfn_range(vma, vaddr, pfn, size, prot)                \
+               remap_pfn_range(vma, vaddr, pfn, size, prot)
+
+#define MK_IOSPACE_PFN(space, pfn)     (pfn)
+#define GET_IOSPACE(pfn)               0
+#define GET_PFN(pfn)                   (pfn)
 
 /*
  * All 32bit addresses are effectively valid for vmalloc...