aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/pci/acpi.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2010-05-27 22:16:22 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2010-05-30 09:06:00 -0700
commite9a5f426b85e429bffaee4e0b086b1e742a39fa6 (patch)
tree65ba763309c5d771c1f179af5b36fce996742b1c /arch/x86/pci/acpi.c
parent97ef6f7449da6ceddf9a90fa8851f607b67283dd (diff)
downloadkernel_samsung_tuna-e9a5f426b85e429bffaee4e0b086b1e742a39fa6.zip
kernel_samsung_tuna-e9a5f426b85e429bffaee4e0b086b1e742a39fa6.tar.gz
kernel_samsung_tuna-e9a5f426b85e429bffaee4e0b086b1e742a39fa6.tar.bz2
CPU: Avoid using unititialized error variable in disable_nonboot_cpus()
If there's only one CPU online when disable_nonboot_cpus() is called, the error variable will not be initialized and that may lead to erroneous behavior. Fix this issue by initializing error in disable_nonboot_cpus() as appropriate. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/pci/acpi.c')
0 files changed, 0 insertions, 0 deletions