diff options
| author | 2008-08-15 19:38:47 +0200 | |
|---|---|---|
| committer | 2008-08-15 19:38:47 +0200 | |
| commit | a6006834866229aa40393ae1dac7ecf05b11e6e0 (patch) | |
| tree | eab46235c9dad8bf634840fb4d66b06961d06393 | |
| parent | Merge branches 'acpica-release-fixes', 'ec-fix', 'dock', 'irq-bounds', 'thermal-fix', 'wmi' and 'acpi-cleanups' into release-2.6.27 (diff) | |
| parent | x86: Fix ioremap off by one BUG (diff) | |
Merge branch 'ioremap' into release-2.6.27
| -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 016f335bbeea..6ba6f889c79d 100644 --- a/arch/x86/mm/ioremap.c +++ b/arch/x86/mm/ioremap.c @@ -170,7 +170,7 @@ static void __iomem *__ioremap_caller(resource_size_t phys_addr, phys_addr &= PAGE_MASK; size = PAGE_ALIGN(last_addr+1) - phys_addr; - retval = reserve_memtype(phys_addr, phys_addr + size, + retval = reserve_memtype(phys_addr, (u64)phys_addr + size, prot_val, &new_prot_val); if (retval) { pr_debug("Warning: reserve_memtype returned %d\n", retval); |
