aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/parisc/mm/ioremap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/mm/ioremap.c b/arch/parisc/mm/ioremap.c
index 92d496ad07c9..838d0259cd27 100644
--- a/arch/parisc/mm/ioremap.c
+++ b/arch/parisc/mm/ioremap.c
@@ -71,7 +71,7 @@ void __iomem * __ioremap(unsigned long phys_addr, unsigned long size, unsigned l
71 */ 71 */
72 offset = phys_addr & ~PAGE_MASK; 72 offset = phys_addr & ~PAGE_MASK;
73 phys_addr &= PAGE_MASK; 73 phys_addr &= PAGE_MASK;
74 size = PAGE_ALIGN(last_addr) - phys_addr; 74 size = PAGE_ALIGN(last_addr + 1) - phys_addr;
75 75
76 /* 76 /*
77 * Ok, go for it.. 77 * Ok, go for it..