wok-current diff linux/stuff/linux-ioremap-2.6.25.5.u @ rev 4746
Up: libmodplug* (0.8.7). Security fix.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Fri Jan 08 11:35:58 2010 +0100 (2010-01-08) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/linux/stuff/linux-ioremap-2.6.25.5.u Fri Jan 08 11:35:58 2010 +0100 1.3 @@ -0,0 +1,13 @@ 1.4 +Fix 'BUG: Int 14: CR2 ffd41000' on ASUS P5QL 1.5 +http://lkml.org/lkml/2008/10/9/267 1.6 +--- linux-2.6.25.5/arch/x86/mm/ioremap.c 1.7 ++++ linux-2.6.25.5/arch/x86/mm/ioremap.c 1.8 +@@ -437,7 +437,7 @@ 1.9 + */ 1.10 + offset = phys_addr & ~PAGE_MASK; 1.11 + phys_addr &= PAGE_MASK; 1.12 +- size = PAGE_ALIGN(last_addr) - phys_addr; 1.13 ++ size = PAGE_ALIGN(last_addr + 1) - phys_addr; 1.14 + 1.15 + /* 1.16 + * Mappings have to fit in the FIX_BTMAP area.