Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 20215
b: refs/heads/master
c: 9733e24
h: refs/heads/master
i:
  20213: 2e79b0b
  20211: ece4c31
  20207: df612be
v: v3
  • Loading branch information
Heiko Carstens authored and Linus Torvalds committed Feb 12, 2006
1 parent 396f67f commit 733025e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 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: 25fab9ebac445d57b656f5faabac5a195bed2f82
refs/heads/master: 9733e2407ad2237867cb13c04e7d619397fa3090
6 changes: 1 addition & 5 deletions trunk/arch/s390/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ extern volatile int __cpu_logical_map[];
struct _lowcore *lowcore_ptr[NR_CPUS];

cpumask_t cpu_online_map;
cpumask_t cpu_possible_map;
cpumask_t cpu_possible_map = CPU_MASK_ALL;

static struct task_struct *current_set[NR_CPUS];

Expand Down Expand Up @@ -514,9 +514,6 @@ __init smp_check_cpus(unsigned int max_cpus)
num_cpus++;
}

for (cpu = 1; cpu < max_cpus; cpu++)
cpu_set(cpu, cpu_possible_map);

printk("Detected %d CPU's\n",(int) num_cpus);
printk("Boot cpu address %2X\n", boot_cpu_addr);
}
Expand Down Expand Up @@ -810,7 +807,6 @@ void __devinit smp_prepare_boot_cpu(void)

cpu_set(0, cpu_online_map);
cpu_set(0, cpu_present_map);
cpu_set(0, cpu_possible_map);
S390_lowcore.percpu_offset = __per_cpu_offset[0];
current_set[0] = current;
}
Expand Down

0 comments on commit 733025e

Please sign in to comment.