Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.10-pre15 /mm/bootmem.c

Filename:/mm/bootmem.c
Lines Added:2
Lines Deleted:1
Also changed in: (Previous) 2.4.10-pre14  2.4.10-pre13  2.4.10-pre12  2.4.6  2.4.6-pre9  2.4.5-ac24 
(Following) 2.4.10  2.4.17-pre5  2.4.17-pre6  2.4.17-pre7  2.4.17-pre8  2.4.17-rc1 

Location
[  2.4.10-pre15
  [  mm
     o  bootmem.c

Patch

diff -u --recursive --new-file v2.4.9/linux/mm/bootmem.c linux/mm/bootmem.c
--- v2.4.9/linux/mm/bootmem.c   Tue Jul  3 17:08:22 2001
+++ linux/mm/bootmem.c   Tue Sep 18 14:10:43 2001
@@ -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;
 }
 


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.