ARM: imx6: build headsmp.o only on CONFIG_SMP

With v7_cpu_resume() being moved out of headsmp.S, all the remaining
code in the file is only needed by CONFIG_SMP build.  So we can control
the build of headsmp.o with only obj-$(CONFIG_SMP) now.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
这个提交包含在:
Shawn Guo
2014-02-26 19:57:56 +08:00
父节点 c356bdb407
当前提交 facadba6a1
修改 2 个文件,包含 2 行新增4 行删除

查看文件

@@ -15,7 +15,6 @@
.section ".text.head", "ax"
#ifdef CONFIG_SMP
diag_reg_offset:
.word g_diag_reg - .
@@ -32,4 +31,3 @@ ENTRY(v7_secondary_startup)
set_diag_reg
b secondary_startup
ENDPROC(v7_secondary_startup)
#endif