X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=mm%2Fnobootmem.c;h=bd05a70f44b96c81d4d7c119fd4a807f1af15bd6;hb=2ab704a47e0f27df758840a589aec3298dbb98dd;hp=99feb2b07fc541a9e79ea92018f7aeadf14d68a9;hpb=1b3bf847977c2e5974012ddd4b25fef50967d785;p=cascardo%2Flinux.git diff --git a/mm/nobootmem.c b/mm/nobootmem.c index 99feb2b07fc5..bd05a70f44b9 100644 --- a/mm/nobootmem.c +++ b/mm/nobootmem.c @@ -288,7 +288,7 @@ static void * __init ___alloc_bootmem(unsigned long size, unsigned long align, /* * Whoops, we cannot satisfy the allocation request. */ - printk(KERN_ALERT "bootmem alloc of %lu bytes failed!\n", size); + pr_alert("bootmem alloc of %lu bytes failed!\n", size); panic("Out of memory"); return NULL; } @@ -360,7 +360,7 @@ static void * __init ___alloc_bootmem_node(pg_data_t *pgdat, unsigned long size, if (ptr) return ptr; - printk(KERN_ALERT "bootmem alloc of %lu bytes failed!\n", size); + pr_alert("bootmem alloc of %lu bytes failed!\n", size); panic("Out of memory"); return NULL; }