Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45015
b: refs/heads/master
c: e1d9fd2
h: refs/heads/master
i:
  45013: 06e4650
  45011: 8e8a6ee
  45007: 85280b3
v: v3
  • Loading branch information
Ingo Molnar authored and Linus Torvalds committed Dec 23, 2006
1 parent 0c5d6de commit 7e279e1
Show file tree
Hide file tree
Showing 2 changed files with 3 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: ffaa82008f1aad52a6d3979f49d2a76c2928b60f
refs/heads/master: e1d9fd2e3d33b2fec3207171ec8ca6e71d5c81c7
4 changes: 2 additions & 2 deletions trunk/kernel/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ static cpumask_t frozen_cpus;

int disable_nonboot_cpus(void)
{
int cpu, first_cpu, error;
int cpu, first_cpu, error = 0;

mutex_lock(&cpu_add_remove_lock);
first_cpu = first_cpu(cpu_present_map);
Expand Down Expand Up @@ -294,7 +294,7 @@ int disable_nonboot_cpus(void)
/* Make sure the CPUs won't be enabled by someone else */
cpu_hotplug_disabled = 1;
} else {
printk(KERN_ERR "Non-boot CPUs are not disabled");
printk(KERN_ERR "Non-boot CPUs are not disabled\n");
}
out:
mutex_unlock(&cpu_add_remove_lock);
Expand Down

0 comments on commit 7e279e1

Please sign in to comment.