提交 1e93e70d 编写于 作者: R Ralf Baechle

[MIPS] Yosemite: Fix build damage by dc8f6029.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 909fa64c
...@@ -94,7 +94,7 @@ void __init prom_prepare_cpus(unsigned int max_cpus) ...@@ -94,7 +94,7 @@ void __init prom_prepare_cpus(unsigned int max_cpus)
void prom_boot_secondary(int cpu, struct task_struct *idle) void prom_boot_secondary(int cpu, struct task_struct *idle)
{ {
unsigned long gp = (unsigned long) task_thread_info(idle); unsigned long gp = (unsigned long) task_thread_info(idle);
unsigned long sp = __KSTK_TOP(idle); unsigned long sp = __KSTK_TOS(idle);
secondary_sp = sp; secondary_sp = sp;
secondary_gp = gp; secondary_gp = gp;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册