Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300257
b: refs/heads/master
c: ec2e0f9
h: refs/heads/master
i:
  300255: 2c950eb
v: v3
  • Loading branch information
Srivatsa S. Bhat authored and Linus Torvalds committed May 16, 2012
1 parent 9727186 commit 95fbd6d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 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: 3911ff30f5d1175e2e67e73244405e3492b35c79
refs/heads/master: ec2e0f9811a2c667d06feecb413c57f74c6b84f4
8 changes: 7 additions & 1 deletion trunk/arch/parisc/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
#include <linux/delay.h>
#include <linux/bitops.h>
#include <linux/ftrace.h>
#include <linux/cpu.h>

#include <linux/atomic.h>
#include <asm/current.h>
Expand Down Expand Up @@ -295,8 +296,13 @@ smp_cpu_init(int cpunum)

printk(KERN_CRIT "CPU#%d already initialized!\n", cpunum);
machine_halt();
}
}

notify_cpu_starting(cpunum);

ipi_call_lock();
set_cpu_online(cpunum, true);
ipi_call_unlock();

/* Initialise the idle task for this CPU */
atomic_inc(&init_mm.mm_count);
Expand Down

0 comments on commit 95fbd6d

Please sign in to comment.