summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/ioremap_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/ioremap_64.c')
-rw-r--r--arch/powerpc/mm/ioremap_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/mm/ioremap_64.c b/arch/powerpc/mm/ioremap_64.c
index ba5cbb0d66bd..3acece00b33e 100644
--- a/arch/powerpc/mm/ioremap_64.c
+++ b/arch/powerpc/mm/ioremap_64.c
@@ -38,7 +38,7 @@ void __iomem *__ioremap_caller(phys_addr_t addr, unsigned long size,
return NULL;
ret = (void __iomem *)ioremap_bot + offset;
- ioremap_bot += size;
+ ioremap_bot += size + PAGE_SIZE;
return ret;
}