From 24fe4325207d4adc095e71009773d6705237c29b Mon Sep 17 00:00:00 2001 From: KOSAKI Motohiro Date: Thu, 23 Jun 2011 17:28:28 +0900 Subject: [PATCH] arm,tegra: replace cpu_set() with modern api 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 Cc: Colin Cross Cc: Erik Gilling Cc: Olof Johansson Cc: Russell King Cc: linux-tegra@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Colin Cross --- arch/arm/mach-tegra/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c index b8ae3c978de..468523c72b4 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); } -- 2.39.5