[PATCH 3/4] powerpc/numa: set node_possible_map from node_online_map

From: Sang-Heon Jeon

Date: Wed Jul 01 2026 - 13:20:07 EST


mem_topology_setup() intersects node_possible_map with node_online_map.
Nothing sets node_possible_map before this, so it is NODE_MASK_ALL and
the result is just node_online_map.

In preparation for changing node_possible_map's initial value,
mem_topology_setup() no longer depends on it.

No functional change.

Signed-off-by: Sang-Heon Jeon <ekffu200098@xxxxxxxxx>
---
arch/powerpc/mm/numa.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index f4cf3ae036de..2fdecae90a01 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm/numa.c
@@ -1179,7 +1179,7 @@ void __init mem_topology_setup(void)
* that we expect to make use of for this platform's affinity
* calculations.
*/
- nodes_and(node_possible_map, node_possible_map, node_online_map);
+ node_possible_map = node_online_map;

find_possible_nodes();

--
2.43.0