Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 65007
b: refs/heads/master
c: 8a177c4
h: refs/heads/master
i:
  65005: 0bfb89d
  65003: 8b1551d
  64999: b61d4bf
  64991: 996eb09
v: v3
  • Loading branch information
David S. Miller committed Sep 16, 2007
1 parent 0bf08e1 commit 98ca4dc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 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: 301feb652441a7168b59256fc44918075dcab0d5
refs/heads/master: 8a177c4f17c691c2c9a08a54709d37c6db481a0b
6 changes: 5 additions & 1 deletion trunk/arch/sparc64/kernel/mdesc.c
Original file line number Diff line number Diff line change
Expand Up @@ -777,8 +777,12 @@ void __devinit mdesc_fill_in_cpu_data(cpumask_t mask)
cpuid = *id;

#ifdef CONFIG_SMP
if (cpuid >= NR_CPUS)
if (cpuid >= NR_CPUS) {
printk(KERN_WARNING "Ignoring CPU %d which is "
">= NR_CPUS (%d)\n",
cpuid, NR_CPUS);
continue;
}
if (!cpu_isset(cpuid, mask))
continue;
#else
Expand Down
6 changes: 5 additions & 1 deletion trunk/arch/sparc64/kernel/prom.c
Original file line number Diff line number Diff line change
Expand Up @@ -1583,8 +1583,12 @@ static void __init of_fill_in_cpu_data(void)
ncpus_probed++;

#ifdef CONFIG_SMP
if (cpuid >= NR_CPUS)
if (cpuid >= NR_CPUS) {
printk(KERN_WARNING "Ignoring CPU %d which is "
">= NR_CPUS (%d)\n",
cpuid, NR_CPUS);
continue;
}
#else
/* On uniprocessor we only want the values for the
* real physical cpu the kernel booted onto, however
Expand Down

0 comments on commit 98ca4dc

Please sign in to comment.