Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 71909
b: refs/heads/master
c: f8b9e59
h: refs/heads/master
i:
  71907: 7b78652
v: v3
  • Loading branch information
Kyle McMartin authored and Kyle McMartin committed Oct 18, 2007
1 parent db0f8b5 commit a91ab02
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 730e844d57693f464c7f9954a0f7102414164c3f
refs/heads/master: f8b9e5945738d25c04d6735c2a070f574d2b34c5
7 changes: 6 additions & 1 deletion trunk/arch/parisc/kernel/processor.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,12 @@ static int __cpuinit processor_probe(struct parisc_device *dev)
unsigned long cpuid;
struct cpuinfo_parisc *p;

#ifndef CONFIG_SMP
#ifdef CONFIG_SMP
if (num_online_cpus() >= NR_CPUS) {
printk(KERN_INFO "num_online_cpus() >= NR_CPUS\n");
return 1;
}
#else
if (boot_cpu_data.cpu_count > 0) {
printk(KERN_INFO "CONFIG_SMP=n ignoring additional CPUs\n");
return 1;
Expand Down

0 comments on commit a91ab02

Please sign in to comment.