Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 13665
b: refs/heads/master
c: e4d76e1
h: refs/heads/master
i:
  13663: 1863002
v: v3
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Nov 10, 2005
1 parent 8cc3c0d commit 007ad19
Show file tree
Hide file tree
Showing 3 changed files with 3 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: a47ab9371e664952b1104a70ec8e9b74db3f7a5f
refs/heads/master: e4d76e1c0b15590f2ad9bba89426c2520cd22ca6
1 change: 1 addition & 0 deletions trunk/arch/powerpc/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ int __devinit start_secondary(void *unused)

smp_store_cpu_info(cpu);
set_dec(tb_ticks_per_jiffy);
preempt_disable();
cpu_callin_map[cpu] = 1;

smp_ops->setup_cpu(cpu);
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ppc/kernel/idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ void cpu_idle(void)
int cpu = smp_processor_id();

for (;;) {
while (need_resched()) {
while (!need_resched()) {
if (ppc_md.idle != NULL)
ppc_md.idle();
else
Expand Down

0 comments on commit 007ad19

Please sign in to comment.