|
@@ -614,7 +614,7 @@ void __init *early_ioremap(unsigned long phys_addr, unsigned long size)
|
|
*/
|
|
*/
|
|
offset = phys_addr & ~PAGE_MASK;
|
|
offset = phys_addr & ~PAGE_MASK;
|
|
phys_addr &= PAGE_MASK;
|
|
phys_addr &= PAGE_MASK;
|
|
- size = PAGE_ALIGN(last_addr) - phys_addr;
|
|
|
|
|
|
+ size = PAGE_ALIGN(last_addr + 1) - phys_addr;
|
|
|
|
|
|
/*
|
|
/*
|
|
* Mappings have to fit in the FIX_BTMAP area.
|
|
* Mappings have to fit in the FIX_BTMAP area.
|