patch-2.4.21 linux-2.4.21/arch/x86_64/mm/ioremap.c
Next file: linux-2.4.21/arch/x86_64/mm/k8topology.c
Previous file: linux-2.4.21/arch/x86_64/mm/init.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
2003-06-13 07:51:32.000000000 -0700
- Orig file:
linux-2.4.20/arch/x86_64/mm/ioremap.c
- Orig date:
2002-11-28 15:53:12.000000000 -0800
diff -urN linux-2.4.20/arch/x86_64/mm/ioremap.c linux-2.4.21/arch/x86_64/mm/ioremap.c
@@ -142,7 +142,7 @@
*/
offset = phys_addr & ~PAGE_MASK;
phys_addr &= PAGE_MASK;
- size = PAGE_ALIGN(last_addr) - phys_addr;
+ size = PAGE_ALIGN(last_addr + 1) - phys_addr;
/*
* Ok, go for it..
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)