wok diff linux/stuff/linux-ioremap-2.6.25.5.u @ rev 5195

slitaz-doc: fix version for 3.0
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 17:16:33 2010 +0200 (2010-03-28)
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	Sun Mar 28 17:16:33 2010 +0200
     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.