patch-2.4.23 linux-2.4.23/arch/x86_64/mm/ioremap.c
Next file: linux-2.4.23/arch/x86_64/mm/k8topology.c
Previous file: linux-2.4.23/arch/x86_64/mm/fault.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
2003-11-28 10:26:19.000000000 -0800
- Orig file:
linux-2.4.22/arch/x86_64/mm/ioremap.c
- Orig date:
2003-06-13 07:51:32.000000000 -0700
diff -urN linux-2.4.22/arch/x86_64/mm/ioremap.c linux-2.4.23/arch/x86_64/mm/ioremap.c
@@ -125,12 +125,12 @@
*/
if (phys_addr < virt_to_phys(high_memory)) {
char *t_addr, *t_end;
- struct page *page;
t_addr = __va(phys_addr);
t_end = t_addr + (size - 1);
#ifndef CONFIG_DISCONTIGMEM
+ struct page *page;
for(page = virt_to_page(t_addr); page <= virt_to_page(t_end); page++)
if(!PageReserved(page))
return NULL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)