diff options
author | Christian Borntraeger <borntraeger@de.ibm.com> | 2009-06-16 10:30:35 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2009-06-16 10:31:14 +0200 |
commit | 58872d5f367876a81dcda82465381d80d321a81d (patch) | |
tree | 0a40c6dd2bf48ad3dc60ed04e5e45061a2313c2a /security | |
parent | daa70fa960fb5625d762988cca7e4733573d90a3 (diff) |
[S390] pm: vmwatchdog power management callbacks.
This patch implements suspend/hibernation for the vmwatchdog driver. The
pm_notifier_callchain is used to get control on PM events. Since watchdog
operation and suspend cannot work together in a reliable fashion, the open
flag is also used to prevent suspend and open from happening at the same
time.
The watchdog can also be active with no open file descriptor. This patch
adds another flag which is only changed in vmwdt_keep_alive and
vmwdt_disable.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions