summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDwaipayan Ray <dwaipayanray1@gmail.com>2021-07-11 10:45:36 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2022-05-04 11:37:44 +0200
commite62520b8870837440262057f6573c231cd700116 (patch)
tree2088dc969516c431347e142e3f38d5aca83b061c
parentpowerpc: Fix spelling mistake "mesages" -> "messages" in Kconfig (diff)
downloadlinux-e62520b8870837440262057f6573c231cd700116.tar.xz
linux-e62520b8870837440262057f6573c231cd700116.zip
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 <dwaipayanray1@gmail.com> [chleroy: Fixed parenthesis alignment] Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20210711084536.95394-1-dwaipayanray1@gmail.com
-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;
}