summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-11-29 23:23:38 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-29 23:23:38 +0100
commit2f12c74f0cfdc93e1d47ac70766e837ef29472fd (patch)
tree92e5c54b3f82254922f7f2ed6395e93d589356f5 /arch
parentMerge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/... (diff)
parent[SPARC64]: Fix >8K I/O mappings. (diff)
downloadlinux-2f12c74f0cfdc93e1d47ac70766e837ef29472fd.tar.xz
linux-2f12c74f0cfdc93e1d47ac70766e837ef29472fd.zip
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
Diffstat (limited to 'arch')
-rw-r--r--arch/sparc64/mm/generic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc64/mm/generic.c b/arch/sparc64/mm/generic.c
index d9396c1721cd..580b63da836b 100644
--- a/arch/sparc64/mm/generic.c
+++ b/arch/sparc64/mm/generic.c
@@ -77,6 +77,7 @@ static inline void io_remap_pte_range(struct mm_struct *mm, pte_t * pte,
BUG_ON(!pte_none(*pte));
set_pte_at(mm, address, pte, entry);
address += PAGE_SIZE;
+ pte_val(entry) += PAGE_SIZE;
pte++;
} while (address < curend);
} while (address < end);