wok rev 2777

linux: Fix 'BUG: Int 14: CR2 ffd41000' on ASUS P5QL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 27 13:47:44 2009 +0200 (2009-04-27)
parents 934635d25eaa
children 31e3f7df762f
files linux/receipt linux/stuff/linux-ioremap-2.6.25.5.u
line diff
     1.1 --- a/linux/receipt	Mon Apr 27 11:07:12 2009 +0200
     1.2 +++ b/linux/receipt	Mon Apr 27 13:47:44 2009 +0200
     1.3 @@ -35,6 +35,7 @@
     1.4  $PACKAGE-utf8-$VERSION.u
     1.5  $PACKAGE-diff-$VERSION.u
     1.6  $PACKAGE-rootdev.u
     1.7 +$PACKAGE-ioremap-$VERSION.u
     1.8  EOT
     1.9  	make mrproper	
    1.10  	cp ../stuff/$PACKAGE-$VERSION-slitaz.config .config
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/linux/stuff/linux-ioremap-2.6.25.5.u	Mon Apr 27 13:47:44 2009 +0200
     2.3 @@ -0,0 +1,13 @@
     2.4 +Fix 'BUG: Int 14: CR2 ffd41000' on ASUS P5QL
     2.5 +http://lkml.org/lkml/2008/10/9/267
     2.6 +--- linux-2.6.25.5/arch/x86/mm/ioremap.c
     2.7 ++++ linux-2.6.25.5/arch/x86/mm/ioremap.c
     2.8 +@@ -437,7 +437,7 @@
     2.9 + 	 */
    2.10 + 	offset = phys_addr & ~PAGE_MASK;
    2.11 + 	phys_addr &= PAGE_MASK;
    2.12 +-	size = PAGE_ALIGN(last_addr) - phys_addr;
    2.13 ++	size = PAGE_ALIGN(last_addr + 1) - phys_addr;
    2.14 + 
    2.15 + 	/*
    2.16 + 	 * Mappings have to fit in the FIX_BTMAP area.