projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b07bd0
)
Use fixed up pfn.
author
Thiemo Seufer
<ths@networkno.de>
Mon, 11 Apr 2005 12:24:16 +0000
(12:24 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Sat, 29 Oct 2005 18:31:03 +0000
(19:31 +0100)
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
include/asm-mips/pgtable.h
patch
|
blob
|
history
diff --git
a/include/asm-mips/pgtable.h
b/include/asm-mips/pgtable.h
index 34d06fe7caac7b74e5bf91d51b4ab4ef361fb05d..754ec6c5a8f7da2e99e29f8b24f5fc0c62921d9b 100644
(file)
--- a/
include/asm-mips/pgtable.h
+++ b/
include/asm-mips/pgtable.h
@@
-372,7
+372,7
@@
static inline int io_remap_pfn_range(struct vm_area_struct *vma,
pgprot_t prot)
{
phys_t phys_addr_high = fixup_bigphys_addr(pfn << PAGE_SHIFT, size);
- return remap_pfn_range(vma, vaddr, p
fn
, size, prot);
+ return remap_pfn_range(vma, vaddr, p
hys_addr_high >> PAGE_SHIFT
, size, prot);
}
#else
#define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \