diff --git a/mm/bootmem.c b/mm/bootmem.c index 052dfeac07693a6aa77e2e4a483a7c4f4ceef803..00f4661e174b280cbcd9de8d251cebcfd7c49633 100644 --- a/mm/bootmem.c +++ b/mm/bootmem.c @@ -371,11 +371,6 @@ void * __init __alloc_bootmem_node (pg_data_t *pgdat, unsigned long size, unsign if (ptr) return (ptr); - /* - * Whoops, we cannot satisfy the allocation request. - */ - printk(KERN_ALERT "bootmem alloc of %lu bytes failed!\n", size); - panic("Out of memory"); - return NULL; + return __alloc_bootmem(size, align, goal); }