diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-03-24 00:16:23 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-03-24 00:16:23 +0300 |
commit | fb3600cc50302c9577b76838fcac1ee78828007d (patch) | |
tree | b5a2fe372bfe582525b165c55a3c0034bfe02665 /usr | |
parent | 134fac3f457f3dd753ecdb25e6da3e5f6629f696 (diff) | |
download | linux-fb3600cc50302c9577b76838fcac1ee78828007d.tar.xz |
KVM: Use syscore_ops instead of sysdev class and sysdev
KVM uses a sysdev class and a sysdev for executing kvm_suspend()
after interrupts have been turned off on the boot CPU (during system
suspend) and for executing kvm_resume() before turning on interrupts
on the boot CPU (during system resume). However, since both of these
functions ignore their arguments, the entire mechanism may be
replaced with a struct syscore_ops object which is simpler.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions