patch-2.0.11 linux/mm/vmalloc.c
Next file: linux/net/core/dev.c
Previous file: linux/mm/mmap.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun Aug 4 13:39:07 1996
- Orig file:
v2.0.10/linux/mm/vmalloc.c
- Orig date:
Wed Apr 3 10:59:33 1996
diff -u --recursive --new-file v2.0.10/linux/mm/vmalloc.c linux/mm/vmalloc.c
@@ -306,7 +306,7 @@
void * addr;
struct vm_struct * area;
- if (offset < high_memory)
+ if (MAP_NR(offset) < MAP_NR(high_memory))
return NULL;
if (offset & ~PAGE_MASK)
return NULL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov