Skip to contentSkip to conversation

arch/tile: remove references to cpu_*_map.

PATCH Applied Rusty Russell 3 participants 3 messages Feb 15, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 9/12 arch/tile: remove references to cpu_*_map.

From: Rusty Russell <[email protected]>

This has been obsolescent for a while; time for the final push.

---
 arch/tile/kernel/setup.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/tile/kernel/setup.c +3 -3
@@ -1186,7 +1186,7 @@ static void __init setup_cpu_maps(void)
 			      sizeof(cpu_lotar_map));
 	if (rc < 0) {
 		pr_err("warning: no HV_INQ_TILES_LOTAR; using AVAIL\n");
-		cpu_lotar_map = cpu_possible_map;
+		cpu_lotar_map = *cpu_possible_mask;
 	}
 
 #if CHIP_HAS_CBOX_HOME_MAP()
@@ -1196,9 +1196,9 @@ static void __init setup_cpu_maps(void)
 			      sizeof(hash_for_home_map));
 	if (rc < 0)
 		early_panic("hv_inquire_tiles(HFH_CACHE) failed: rc %d\n", rc);
-	cpumask_or(&cpu_cacheable_map, &cpu_possible_map, &hash_for_home_map);
+	cpumask_or(&cpu_cacheable_map, cpu_possible_mask, &hash_for_home_map);
 #else
-	cpu_cacheable_map = cpu_possible_map;
+	cpu_cacheable_map = *cpu_possible_mask;
 #endif
 }
 
Acked-by on v1 9/12
#2 lore raw
In reply to Rusty Russell
Quoted 9 lines · Rusty Russell

From: Rusty Russell <[email protected]>

This has been obsolescent for a while; time for the final push.

---
 arch/tile/kernel/setup.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

The comment change in arch/tile/kernel/setup.c in patch 11/12 is fine too.

Signature · 2 lines
Chris Metcalf, Tilera Corp.
http://www.tilera.com