diff -u --recursive --new-file v2.3.26/linux/mm/vmalloc.c
linux/mm/vmalloc.c
--- v2.3.26/linux/mm/vmalloc.c Wed Oct 27 16:34:12 1999
+++ linux/mm/vmalloc.c Mon Nov 8 18:01:12 1999
@@ -204,7 +204,7 @@
struct vm_struct *area;
size = PAGE_ALIGN(size);
- if (!size || size > (max_mapnr << PAGE_SHIFT)) {
+ if (!size || (size >> PAGE_SHIFT) > max_mapnr) {
BUG();
return NULL;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/