aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDwaipayan Ray <[email protected]>2021-07-11 14:15:36 +0530
committerMichael Ellerman <[email protected]>2022-05-04 19:37:44 +1000
commite62520b8870837440262057f6573c231cd700116 (patch)
tree2088dc969516c431347e142e3f38d5aca83b061c
parent8617982d82c0b7d97b4b216a4d59135ffcb88aaf (diff)
powerpc/mm: Switch from __FUNCTION__ to __func__
__FUNCTION__ exists only for backwards compatibility reasons with old gcc versions. Replace it with __func__. Signed-off-by: Dwaipayan Ray <[email protected]> [chleroy: Fixed parenthesis alignment] Signed-off-by: Christophe Leroy <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--arch/powerpc/mm/numa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index 13022d734951..3becb2588726 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm/numa.c
@@ -1457,8 +1457,7 @@ int find_and_online_cpu_nid(int cpu)
#endif
}
- pr_debug("%s:%d cpu %d nid %d\n", __FUNCTION__, __LINE__,
- cpu, new_nid);
+ pr_debug("%s:%d cpu %d nid %d\n", __func__, __LINE__, cpu, new_nid);
return new_nid;
}