patch-2.4.10 linux/mm/bootmem.c
Next file: linux/mm/filemap.c
Previous file: linux/lib/vsprintf.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Tue Sep 18 14:10:43 2001
- Orig file:
v2.4.9/linux/mm/bootmem.c
- Orig date:
Tue Jul 3 17:08:22 2001
diff -u --recursive --new-file v2.4.9/linux/mm/bootmem.c linux/mm/bootmem.c
@@ -344,7 +344,8 @@
/*
* Whoops, we cannot satisfy the allocation request.
*/
- BUG();
+ printk(KERN_ALERT "bootmem alloc of %lu bytes failed!\n", size);
+ panic("Out of memory");
return NULL;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)