summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mm/bootmem.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/mm/bootmem.c b/mm/bootmem.c
index 052dfeac0769..00f4661e174b 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);
}