Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 139094
b: refs/heads/master
c: fe73971
h: refs/heads/master
v: v3
  • Loading branch information
Rusty Russell committed Mar 16, 2009
1 parent 1c41d2d commit ec5e326
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 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: f46df02a5799460e74bcb5a3875d4245978f3bd2
refs/heads/master: fe73971cdd9287eba5f834eb3794768c22718581
8 changes: 4 additions & 4 deletions trunk/arch/sparc/kernel/smp_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,8 @@ void __init smp_setup_cpu_possible_map(void)
instance = 0;
while (!cpu_find_by_instance(instance, NULL, &mid)) {
if (mid < NR_CPUS) {
cpu_set(mid, cpu_possible_map);
cpu_set(mid, cpu_present_map);
set_cpu_possible(mid, true);
set_cpu_present(mid, true);
}
instance++;
}
Expand All @@ -351,8 +351,8 @@ void __init smp_prepare_boot_cpu(void)
printk("boot cpu id != 0, this could work but is untested\n");

current_thread_info()->cpu = cpuid;
cpu_set(cpuid, cpu_online_map);
cpu_set(cpuid, cpu_possible_map);
set_cpu_online(cpuid, true);
set_cpu_possible(cpuid, true);
}

int __cpuinit __cpu_up(unsigned int cpu)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sparc/kernel/sun4d_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ void __cpuinit smp4d_callin(void)
spin_lock_irqsave(&sun4d_imsk_lock, flags);
cc_set_imsk(cc_get_imsk() & ~0x4000); /* Allow PIL 14 as well */
spin_unlock_irqrestore(&sun4d_imsk_lock, flags);
cpu_set(cpuid, cpu_online_map);
set_cpu_online(cpuid, true);

}

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/sparc/kernel/sun4m_smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ void __cpuinit smp4m_callin(void)

local_irq_enable();

cpu_set(cpuid, cpu_online_map);
set_cpu_online(cpuid, true);
}

/*
Expand Down

0 comments on commit ec5e326

Please sign in to comment.