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

Up: webkit-web-inspector (1.1.11)
author Mallory Mollo <mallory@sweetpeople.org>
date Tue Jul 21 17:45:44 2009 +0200 (2009-07-21)
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	Tue Jul 21 17:45:44 2009 +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.