powerpc/pseries: rename numa_dist_table to form2_distances
authorNicholas Piggin <npiggin@gmail.com>
Tue, 9 Nov 2021 06:48:59 +0000 (16:48 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Nov 2021 08:48:41 +0000 (09:48 +0100)
commitad9ade6c946ee484589081c2b324935caf1ea8b1
tree5699ffebf87afddc47436ec93e36a4694074e99f
parenta0995ebe4e1f2aaa3219af076d6e9ed1c2ca9eb3
powerpc/pseries: rename numa_dist_table to form2_distances

[ Upstream commit 0bd81274e3f1195ee7c820ef02d62f31077c42c3 ]

The name of the local variable holding the "form2" property address
conflicts with the numa_distance_table global.

This patch does 's/numa_dist_table/form2_distances/g' over the function,
which also renames numa_dist_table_length to form2_distances_length.

Suggested-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211109064900.2041386-1-npiggin@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/powerpc/mm/numa.c