diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/mm/ioremap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c index 6ab3196d12b4..10b52309aefd 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c | |||
@@ -614,7 +614,7 @@ void __init *early_ioremap(unsigned long phys_addr, unsigned long size) | |||
614 | */ | 614 | */ |
615 | offset = phys_addr & ~PAGE_MASK; | 615 | offset = phys_addr & ~PAGE_MASK; |
616 | phys_addr &= PAGE_MASK; | 616 | phys_addr &= PAGE_MASK; |
617 | size = PAGE_ALIGN(last_addr) - phys_addr; | 617 | size = PAGE_ALIGN(last_addr + 1) - phys_addr; |
618 | 618 | ||
619 | /* | 619 | /* |
620 | * Mappings have to fit in the FIX_BTMAP area. | 620 | * Mappings have to fit in the FIX_BTMAP area. |