diff options
author | Scott Williams <scwilliams@nvidia.com> | 2011-07-27 20:57:45 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:46:58 -0800 |
commit | 35aaba062bfb1b910f6fa7088fea7274930d03db (patch) | |
tree | 0e7a42718e17c016cf758b42a4495fb8c10c61dc /arch/arm/mach-tegra/platsmp.c | |
parent | 55f6760f18bf54a4292c5955a80612e929ded894 (diff) |
ARM: tegra: Handle uniprocessor all CPUs booted status
For CONFIG_SMP systems that report only a single CPU available,
platform_smp_prepare_cpus() will never get called. Make sure that
tegra_all_cpus_booted is properly set in this case.
Change-Id: I6bf30be02c0b692f0578eb9a19062bcb562c1892
Signed-off-by: Scott Williams <scwilliams@nvidia.com>
Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com>
Rebase-Id: Rb800c15e27cff51a091e8e704610ed72572b4b6e
Diffstat (limited to 'arch/arm/mach-tegra/platsmp.c')
-rw-r--r-- | arch/arm/mach-tegra/platsmp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/platsmp.c b/arch/arm/mach-tegra/platsmp.c index ac33ef5c4254..5ac06c181cc6 100644 --- a/arch/arm/mach-tegra/platsmp.c +++ b/arch/arm/mach-tegra/platsmp.c @@ -261,8 +261,10 @@ void __init smp_init_cpus(void) here. If there is more than one CPU, we must wait until after the cpu_present_mask has been updated with all present CPUs in platform_smp_prepare_cpus() before initializing the reset handler. */ - if (ncores == 1) + if (ncores == 1) { tegra_cpu_reset_handler_init(); + tegra_all_cpus_booted = true; + } set_smp_cross_call(gic_raise_softirq); } |