wok-stable view linux/stuff/linux-ioremap-2.6.25.5.u @ rev 3513
updale modules.list: vfat,ohci_hcd,fat,msdos,nls_utf8 in kernel now
| author | Rohit Joshi <jozee@slitaz.org> |
|---|---|
| date | Fri Jun 19 23:51:29 2009 +0000 (2009-06-19) |
| parents | |
| children |
line source
1 Fix 'BUG: Int 14: CR2 ffd41000' on ASUS P5QL
2 http://lkml.org/lkml/2008/10/9/267
3 --- linux-2.6.25.5/arch/x86/mm/ioremap.c
4 +++ linux-2.6.25.5/arch/x86/mm/ioremap.c
5 @@ -437,7 +437,7 @@
6 */
7 offset = phys_addr & ~PAGE_MASK;
8 phys_addr &= PAGE_MASK;
9 - size = PAGE_ALIGN(last_addr) - phys_addr;
10 + size = PAGE_ALIGN(last_addr + 1) - phys_addr;
12 /*
13 * Mappings have to fit in the FIX_BTMAP area.