android_kernel_xiaomi_sm8350/drivers/hwmon
Rafael J. Wysocki 8bb7844286 Add suspend-related notifications for CPU hotplug
Since nonboot CPUs are now disabled after tasks and devices have been
frozen and the CPU hotplug infrastructure is used for this purpose, we need
special CPU hotplug notifications that will help the CPU-hotplug-aware
subsystems distinguish normal CPU hotplug events from CPU hotplug events
related to a system-wide suspend or resume operation in progress.  This
patch introduces such notifications and causes them to be used during
suspend and resume transitions.  It also changes all of the
CPU-hotplug-aware subsystems to take these notifications into consideration
(for now they are handled in the same way as the corresponding "normal"
ones).

[oleg@tv-sign.ru: cleanups]
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Gautham R Shenoy <ego@in.ibm.com>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-09 12:30:56 -07:00
..
ams Merge branch 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6 2007-05-08 12:07:28 -07:00
abituguru.c
ad7418.c hwmon: New AD7416, AD7417 and AD7418 driver 2007-05-08 17:22:02 +02:00
adm1021.c
adm1025.c
adm1026.c
adm1029.c
adm1031.c
adm9240.c
applesmc.c applesmc: Use standard sysfs names for labels 2007-05-08 20:41:14 -07:00
asb100.c
atxp1.c
coretemp.c Add suspend-related notifications for CPU hotplug 2007-05-09 12:30:56 -07:00
ds1621.c
f71805f.c hwmon: Request the I/O regions in platform drivers 2007-05-08 17:21:59 +02:00
fscher.c
fscpos.c
gl518sm.c
gl520sm.c
hdaps.c use mutex instead of semaphore in hdaps driver 2007-05-08 11:15:15 -07:00
hwmon-vid.c hwmon-vid: Add support for VIA Esther 2007-05-08 17:21:59 +02:00
hwmon.c
it87.c
k8temp.c
Kconfig Merge branch 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6 2007-05-08 12:07:28 -07:00
lm63.c
lm70.c
lm75.c hwmon/lm75: Use dynamic sysfs callbacks 2007-05-08 17:22:01 +02:00
lm75.h
lm77.c
lm78.c hwmon/lm78: Use dynamic sysfs callbacks 2007-05-08 17:22:01 +02:00
lm80.c
lm83.c
lm85.c
lm87.c hwmon: Only call vid_which_vrm() when needed 2007-05-08 17:21:59 +02:00
lm90.c
lm92.c
Makefile Merge branch 'hwmon-for-linus' of git://jdelvare.pck.nerim.net/jdelvare-2.6 2007-05-08 12:07:28 -07:00
max1619.c
max6650.c hwmon: New max6650 driver 2007-05-08 17:22:00 +02:00
pc87360.c
pc87427.c hwmon: Request the I/O regions in platform drivers 2007-05-08 17:21:59 +02:00
sis5595.c
smsc47b397.c hwmon/smsc47b397: Use dynamic sysfs callbacks 2007-05-08 17:22:03 +02:00
smsc47m1.c hwmon/smsc47m1: Use dynamic sysfs callbacks 2007-05-08 17:22:00 +02:00
smsc47m192.c hwmon/smsc47m192: Document the LPC47M292 as supported 2007-05-08 17:21:59 +02:00
via686a.c
vt1211.c hwmon: Request the I/O regions in platform drivers 2007-05-08 17:21:59 +02:00
vt8231.c
w83l785ts.c
w83627ehf.c hwmon/w83627ehf: Don't redefine REGION_OFFSET 2007-04-24 08:23:08 -07:00
w83627hf.c hwmon/w83627hf: Convert to a platform driver 2007-05-08 17:22:00 +02:00
w83781d.c hwmon/w83781d: Deprecate W83627HF support 2007-05-08 17:22:03 +02:00
w83791d.c
w83792d.c
w83793.c