Thread (3 messages) 3 messages, 1 author, 2011-06-23
STALE5464d

[PATCH 1/3] arm,tegra: replace cpu_set() with modern api

From: KOSAKI Motohiro <hidden>
Date: 2011-06-23 08:28:46
Also in: linux-tegra, lkml
Subsystem: arm port, the rest · Maintainers: Russell King, Linus Torvalds

cpu_set() is marked as obsolete cpumask function and we plan to
remove it in future.

This patch replace it with modern cpumask function.

Signed-off-by: KOSAKI Motohiro <redacted>
Cc: Colin Cross <redacted>
Cc: Erik Gilling <redacted>
Cc: Olof Johansson <redacted>
Cc: Russell King <redacted>
Cc: linux-tegra at vger.kernel.org
Cc: linux-arm-kernel at lists.infradead.org
---
 arch/arm/mach-tegra/platsmp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c
index b8ae3c9..468523c 100644
--- a/arch/arm/mach-tegra/platsmp.c
+++ b/arch/arm/mach-tegra/platsmp.c
@@ -122,7 +122,7 @@ void __init smp_init_cpus(void)
 	}

 	for (i = 0; i < ncores; i++)
-		cpu_set(i, cpu_possible_map);
+		set_cpu_possible(i, true);

 	set_smp_cross_call(gic_raise_softirq);
 }
-- 
1.7.3.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help