git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
include
/
asm-parisc
/
pgtable.h
diff --git
a/include/asm-parisc/pgtable.h
b/include/asm-parisc/pgtable.h
index
1593a8a
..
ccfc070
100644
(file)
--- a/
include/asm-parisc/pgtable.h
+++ b/
include/asm-parisc/pgtable.h
@@
-1,6
+1,8
@@
#ifndef _PARISC_PGTABLE_H
#define _PARISC_PGTABLE_H
#ifndef _PARISC_PGTABLE_H
#define _PARISC_PGTABLE_H
+#include <asm-generic/4level-fixup.h>
+
#include <linux/config.h>
#include <asm/fixmap.h>
#include <linux/config.h>
#include <asm/fixmap.h>
@@
-505,7
+507,8
@@
static inline void ptep_mkdirty(pte_t *ptep)
#endif /* !__ASSEMBLY__ */
#endif /* !__ASSEMBLY__ */
-#define io_remap_page_range remap_page_range
+#define io_remap_page_range(vma, vaddr, paddr, size, prot) \
+ remap_pfn_range(vma, vaddr, (paddr) >> PAGE_SHIFT, size, prot)
/* We provide our own get_unmapped_area to provide cache coherency */
/* We provide our own get_unmapped_area to provide cache coherency */