git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CPU: Avoid using unititialized error variable in disable_nonboot_cpus()
[pandora-kernel.git]
/
kernel
/
cpu.c
diff --git
a/kernel/cpu.c
b/kernel/cpu.c
index
3097382
..
8b92539
100644
(file)
--- a/
kernel/cpu.c
+++ b/
kernel/cpu.c
@@
-394,7
+394,7
@@
static cpumask_var_t frozen_cpus;
int disable_nonboot_cpus(void)
{
- int cpu, first_cpu, error;
+ int cpu, first_cpu, error
= 0
;
cpu_maps_update_begin();
first_cpu = cpumask_first(cpu_online_mask);