mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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]>
This commit is contained in:
parent
d7853d1f89
commit
d40cee245f
3 changed files with 6 additions and 6 deletions
|
|
@ -191,7 +191,7 @@ unsigned long shrink_slab(unsigned long scanned, gfp_t gfp_mask,
|
|||
shrinker->nr += delta;
|
||||
if (shrinker->nr < 0) {
|
||||
printk(KERN_ERR "%s: nr=%ld\n",
|
||||
__FUNCTION__, shrinker->nr);
|
||||
__func__, shrinker->nr);
|
||||
shrinker->nr = max_pass;
|
||||
}
|
||||
|
||||
|
|
@ -339,7 +339,7 @@ static pageout_t pageout(struct page *page, struct address_space *mapping,
|
|||
if (PagePrivate(page)) {
|
||||
if (try_to_free_buffers(page)) {
|
||||
ClearPageDirty(page);
|
||||
printk("%s: orphaned page\n", __FUNCTION__);
|
||||
printk("%s: orphaned page\n", __func__);
|
||||
return PAGE_CLEAN;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue