diff options
| author | Harvey Harrison <[email protected]> | 2008-04-30 07:55:07 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-04-30 15:29:53 +0000 |
| commit | d40cee245ff6ad05d3448401d7320be82c1c5af1 (patch) | |
| tree | 5467cada898e80d5e43592393b21252312c908fa /mm/sparse.c | |
| parent | brd: modify ramdisk device to be able to manage partitions (diff) | |
| download | kernel-d40cee245ff6ad05d3448401d7320be82c1c5af1.tar.gz kernel-d40cee245ff6ad05d3448401d7320be82c1c5af1.zip | |
mm: remove remaining __FUNCTION__ occurrences
__FUNCTION__ is gcc-specific, use __func__
Signed-off-by: Harvey Harrison <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
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) /* Stupid: suppress gcc warning for SPARSEMEM && !NUMA */ nid = 0; - printk(KERN_WARNING "%s: allocation failed\n", __FUNCTION__); + printk(KERN_WARNING "%s: allocation failed\n", __func__); return NULL; } @@ -302,7 +302,7 @@ struct page __init *sparse_early_mem_map_alloc(unsigned long pnum) return map; printk(KERN_ERR "%s: sparsemem memory map backing failed " - "some memory will not be available.\n", __FUNCTION__); + "some memory will not be available.\n", __func__); ms->section_mem_map = 0; return NULL; } |
