]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (coretemp) Fix oops on CPU offlining
authorJean Delvare <khali@linux-fr.org>
Tue, 13 Dec 2011 09:45:55 +0000 (10:45 +0100)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Tue, 10 Jan 2012 21:00:14 +0000 (13:00 -0800)
commit7ae282aad07768cf5e9f0d178b9260f1049f3793
tree64d3589f8a0e617799ccac459c814ee58bdb3e60
parentb7cc13ed37c204ace04fbd28342a8c57e8033208
hwmon: (coretemp) Fix oops on CPU offlining

This is for stable kernel branch 3.0 only. Previous and later versions
have different code paths and are not affected by this bug.

This is the same fix as "hwmon: (coretemp) Fix oops on driver load"
but for the CPU offlining case. Sorry for missing it at first.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Durgadoss R <durgadoss.r@intel.com>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/coretemp.c