diff options
author | Donghan Ryu <dryu@nvidia.com> | 2011-03-30 01:10:14 +0900 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2011-11-30 21:42:00 -0800 |
commit | a2b800e1abbd4ac964c48f478a1e104a77368136 (patch) | |
tree | e77d190b9186359356ad5930cdf37c1285b4e860 /arch/arm/mach-tegra/headsmp.S | |
parent | 3dd04c4fb80237f2c1d285b6d93ea9ceca6e2e4b (diff) |
ARM: tegra: smp: fix build failure with CONFIG_SMP=n
Devs can disable SMP for debugging. However, there
was a build failure when CONFIG_SMP=n. This change
fixes it with minimum change. It looks like
headsmp.s and headsmp-t2.s cannot be removed from
Makefile since there are stuff used for both
multicore/unicore cpus in it.
Bug 809076
Original-Change-Id: Idc440aa912a98f5decff4c59845af4918e504cd2
Reviewed-on: http://git-master/r/24843
Reviewed-by: Donghan Ryu <dryu@nvidia.com>
Tested-by: Donghan Ryu <dryu@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Rebase-Id: R7d80fc13cbff447403c89f4e54b986e96489da15
Diffstat (limited to 'arch/arm/mach-tegra/headsmp.S')
-rw-r--r-- | arch/arm/mach-tegra/headsmp.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/headsmp.S b/arch/arm/mach-tegra/headsmp.S index c055e21b375e..1ddfb28f70d9 100644 --- a/arch/arm/mach-tegra/headsmp.S +++ b/arch/arm/mach-tegra/headsmp.S @@ -34,11 +34,13 @@ * Initial secondary processor boot vector; jumps to kernel's * secondary_startup routine */ +#ifdef CONFIG_SMP ENTRY(tegra_secondary_startup) bl tegra_invalidate_l1 bl tegra_enable_coresite b secondary_startup ENDPROC(tegra_secondary_startup) +#endif #ifdef CONFIG_PM /* |