Skip to content

Commit

Permalink
arm,tegra: replace cpu_set() with modern api
Browse files Browse the repository at this point in the history
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 <kosaki.motohiro@jp.fujitsu.com>
Cc: Colin Cross <ccross@android.com>
Cc: Erik Gilling <konkers@android.com>
Cc: Olof Johansson <olof@lixom.net>
Cc: Russell King <linux@arm.linux.org.uk>
Cc: linux-tegra@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Colin Cross <ccross@android.com>
  • Loading branch information
KOSAKI Motohiro authored and Colin Cross committed Jul 13, 2011
1 parent e051526 commit 24fe432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-tegra/platsmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 24fe432

Please sign in to comment.