- 24 9月, 2012 2 次提交
-
-
由 Guenter Roeck 提交于
Convert to use devm_ functions to reduce code size and simplify the code. Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
-
由 Silas Boyd-Wickizer 提交于
via_cputemp_init loops with for_each_online_cpu, adding platform_devices, then calls register_hotcpu_notifier. If a CPU is offlined between the loop and register_hotcpu_notifier, then later onlined, via_cputemp_device_add will attempt to add platform devices with the same ID. A similar race occurs during via_cputemp_exit, after the module calls unregister_hotcpu_notifier, a CPU might offline and a device will exist for a CPU that is offline. This fix surrounds for_each_online_cpu and register_hotcpu_notifier with get_online_cpus+put_online_cpus; and surrounds unregister_hotcpu_notifier and device unregistering with get_online_cpus+put_online_cpus. Build tested. Signed-off-by: NSilas Boyd-Wickizer <sbw@mit.edu> Acked-by: NHarald Welte <laforge@gnumonks.org> Signed-off-by: NJean Delvare <khali@linux-fr.org>
-
- 30 7月, 2012 1 次提交
-
-
由 Jan Beulich 提交于
... as being referenced from __init code only. Signed-off-by: NJan Beulich <jbeulich@suse.com> Signed-off-by: NJean Delvare <khali@linux-fr.org>
-
- 27 1月, 2012 1 次提交
-
-
由 Andi Kleen 提交于
Use the new x86 cpuid autoprobe interface. Cc: Jean Delvare <khali@linux-fr.org> Cc: Guenter Roeck <guenter.roeck@ericsson.com> Signed-off-by: NAndi Kleen <ak@linux.intel.com> Signed-off-by: NThomas Renninger <trenn@suse.de> Acked-by: NH. Peter Anvin <hpa@zytor.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
- 26 7月, 2011 1 次提交
-
-
由 Jean Delvare 提交于
At least VIA family 6 model D CPU report the VID settings in a MSR, so expose the value to user-space. Not sure about model A. Signed-off-by: NJean Delvare <khali@linux-fr.org> Acked-by: NGuenter Roeck <guenter.roeck@ericsson.com> Tested-by: NJeff Rickman <jrickman@myamigos.us>
-
- 09 1月, 2011 2 次提交
-
-
由 Jan Beulich 提交于
Signed-off-by: NJan Beulich <jbeulich@novell.com> Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
-
由 Joe Perches 提交于
Added #define pr_fmt KBUILD_MODNAME ": " fmt Converted printks to pr_<level> Coalesced any long formats Removed prefixes from formats Signed-off-by: NJoe Perches <joe@perches.com> Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
-
- 26 10月, 2010 3 次提交
-
-
由 Chen Gong 提交于
CONFIG_HOTPLUG_CPU is used too much in some drivers. This patch clean them up. Signed-off-by: NChen Gong <gong.chen@linux.intel.com> Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
-
由 Jan Beulich 提交于
These likely originate from these drivers being clones of one another and/or other drivers which actually needed these includes. Signed-off-by: NJan Beulich <jbeulich@novell.com> Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
-
由 Jan Beulich 提交于
... as they're being called only from a __cpuinit function. Signed-off-by: NJan Beulich <jbeulich@novell.com> Signed-off-by: NGuenter Roeck <guenter.roeck@ericsson.com>
-
- 15 8月, 2010 1 次提交
-
-
由 H. Peter Anvin 提交于
The via-cputemp hwmon driver was probably intending "typedef enum { ... } SHOW;", but the "typedef" was missing creating a global variable named "SHOW". There is absolutely no reason to have this in the global namespace. Signed-off-by: NH. Peter Anvin <hpa@linux.intel.com> Acked-by: NHarald Welte <HaraldWelte@viatech.com> Cc: Juerg Haefliger <juergh@gmail.com> Signed-off-by: NJean Delvare <khali@linux-fr.org>
-
- 17 12月, 2009 1 次提交
-
-
由 Harald Welte 提交于
This is a driver for the on-die digital temperature sensor of VIA's recent CPU models. [JD: Misc clean-ups.] Signed-off-by: NHarald Welte <HaraldWelte@viatech.com> Cc: Juerg Haefliger <juergh@gmail.com> Signed-off-by: NJean Delvare <khali@linux-fr.org> Tested-by: NAdam Nielsen <a.nielsen@shikadi.net>
-