aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
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,
77 BUG_ON(!pte_none(*pte)); 77 BUG_ON(!pte_none(*pte));
78 set_pte_at(mm, address, pte, entry); 78 set_pte_at(mm, address, pte, entry);
79 address += PAGE_SIZE; 79 address += PAGE_SIZE;
80 pte_val(entry) += PAGE_SIZE;
80 pte++; 81 pte++;
81 } while (address < curend); 82 } while (address < curend);
82 } while (address < end); 83 } while (address < end);