Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14989
b: refs/heads/master
c: ef96943
h: refs/heads/master
i:
  14987: de4002b
v: v3
  • Loading branch information
Johannes Berg authored and Paul Mackerras committed Dec 12, 2005
1 parent bb9fd9a commit 80682b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b39f9485e6cfe1bf21b18b60fd8c631a72a1304d
refs/heads/master: ef969434005e772218c0b8086539804605070fa8
4 changes: 4 additions & 0 deletions trunk/arch/ppc/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,10 @@ void __init smp_prepare_cpus(unsigned int max_cpus)

/* Probe platform for CPUs: always linear. */
num_cpus = smp_ops->probe();

if (num_cpus < 2)
smp_tb_synchronized = 1;

for (i = 0; i < num_cpus; ++i)
cpu_set(i, cpu_possible_map);

Expand Down

0 comments on commit 80682b8

Please sign in to comment.