diff options
Diffstat (limited to 'mm/sparse.c')
-rw-r--r-- | mm/sparse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mm/sparse.c b/mm/sparse.c index dff71f173ae9..d9409ba7a1a1 100644 --- a/mm/sparse.c +++ b/mm/sparse.c | |||
@@ -272,7 +272,7 @@ static unsigned long *__init sparse_early_usemap_alloc(unsigned long pnum) | |||
272 | /* Stupid: suppress gcc warning for SPARSEMEM && !NUMA */ | 272 | /* Stupid: suppress gcc warning for SPARSEMEM && !NUMA */ |
273 | nid = 0; | 273 | nid = 0; |
274 | 274 | ||
275 | printk(KERN_WARNING "%s: allocation failed\n", __FUNCTION__); | 275 | printk(KERN_WARNING "%s: allocation failed\n", __func__); |
276 | return NULL; | 276 | return NULL; |
277 | } | 277 | } |
278 | 278 | ||
@@ -302,7 +302,7 @@ struct page __init *sparse_early_mem_map_alloc(unsigned long pnum) | |||
302 | return map; | 302 | return map; |
303 | 303 | ||
304 | printk(KERN_ERR "%s: sparsemem memory map backing failed " | 304 | printk(KERN_ERR "%s: sparsemem memory map backing failed " |
305 | "some memory will not be available.\n", __FUNCTION__); | 305 | "some memory will not be available.\n", __func__); |
306 | ms->section_mem_map = 0; | 306 | ms->section_mem_map = 0; |
307 | return NULL; | 307 | return NULL; |
308 | } | 308 | } |