From 246432152191a0ba61026e8bf43e3b0474367819 Mon Sep 17 00:00:00 2001 From: Hiroshi Doyu Date: Tue, 15 Jan 2013 10:13:12 +0200 Subject: [PATCH] --- yaml --- r: 355581 b: refs/heads/master c: a8a6930157e0e4a2d57abefee487fc4ceba4d53e h: refs/heads/master i: 355579: c2661258e34bb9e1a4026aac1b72b34865cc37f3 v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-tegra/platsmp.c | 15 --------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/[refs] b/[refs] index 89d917faa1ae..36524e2ea6f2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7d19a34a89b8c5401bfa56c96fe05c644ecaeafe +refs/heads/master: a8a6930157e0e4a2d57abefee487fc4ceba4d53e diff --git a/trunk/arch/arm/mach-tegra/platsmp.c b/trunk/arch/arm/mach-tegra/platsmp.c index 1b926df99c4b..79fa7857d68d 100644 --- a/trunk/arch/arm/mach-tegra/platsmp.c +++ b/trunk/arch/arm/mach-tegra/platsmp.c @@ -143,23 +143,8 @@ static int __cpuinit tegra_boot_secondary(unsigned int cpu, struct task_struct * return status; } -/* - * Initialise the CPU possible map early - this describes the CPUs - * which may be present or become present in the system. - */ static void __init tegra_smp_init_cpus(void) { - unsigned int i, ncores = scu_get_core_count(scu_base); - - if (ncores > nr_cpu_ids) { - pr_warn("SMP: %u cores greater than maximum (%u), clipping\n", - ncores, nr_cpu_ids); - ncores = nr_cpu_ids; - } - - for (i = 0; i < ncores; i++) - set_cpu_possible(i, true); - set_smp_cross_call(gic_raise_softirq); }