vserver 1.9.5.x5
[linux-2.6.git] / include / asm-arm26 / pgtable.h
index d8a0f65..fdebe15 100644 (file)
@@ -11,6 +11,8 @@
 #ifndef _ASMARM_PGTABLE_H
 #define _ASMARM_PGTABLE_H
 
+#include <asm-generic/4level-fixup.h>
+
 #include <linux/config.h>
 #include <asm/memory.h>
 
@@ -288,7 +290,7 @@ static inline pte_t mk_pte_phys(unsigned long physpage, pgprot_t pgprot)
  * into virtual address `from'
  */
 #define io_remap_page_range(vma,from,phys,size,prot) \
-               remap_page_range(vma,from,phys,size,prot)
+               remap_pfn_range(vma, from, (phys) >> PAGE_SHIFT, size, prot)
 
 #endif /* !__ASSEMBLY__ */