Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 302784
b: refs/heads/master
c: 6bba268
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Gleixner committed Apr 26, 2012
1 parent 04e906a commit a101baf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 19 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a4cfc31da34eacafd9f6b16e149448bf0ef6d0b2
refs/heads/master: 6bba2682c62e432eaf7b82f8ca182e8c73256e74
1 change: 1 addition & 0 deletions trunk/arch/blackfin/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ config BLACKFIN
select GENERIC_IRQ_PROBE
select IRQ_PER_CPU if SMP
select HAVE_NMI_WATCHDOG if NMI_WATCHDOG
select GENERIC_SMP_IDLE_THREAD

config GENERIC_CSUM
def_bool y
Expand Down
19 changes: 1 addition & 18 deletions trunk/arch/blackfin/mach-common/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,27 +340,10 @@ void smp_send_stop(void)
return;
}

int __cpuinit __cpu_up(unsigned int cpu, struct task_struct *tidle)
int __cpuinit __cpu_up(unsigned int cpu, struct task_struct *idle)
{
int ret;
struct blackfin_cpudata *ci = &per_cpu(cpu_data, cpu);
struct task_struct *idle = ci->idle;

if (idle) {
free_task(idle);
idle = NULL;
}

if (!idle) {
idle = fork_idle(cpu);
if (IS_ERR(idle)) {
printk(KERN_ERR "CPU%u: fork() failed\n", cpu);
return PTR_ERR(idle);
}
ci->idle = idle;
} else {
init_idle(idle, cpu);
}
secondary_stack = task_stack_page(idle) + THREAD_SIZE;

ret = platform_boot_secondary(cpu, idle);
Expand Down

0 comments on commit a101baf

Please sign in to comment.