summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/kvm_main.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-02-19 13:37:48 +0100
committerAvi Kivity <avi@qumranet.com>2007-03-04 10:12:41 +0100
commit19d1408dfd683daf1c158bb8fbf54324eb4bf568 (patch)
treec196af052c08706e3c7e34cceb079637839532c7 /drivers/kvm/kvm_main.c
parentKVM: SVM: intercept SMI to handle it at host level (diff)
downloadlinux-19d1408dfd683daf1c158bb8fbf54324eb4bf568.tar.xz
linux-19d1408dfd683daf1c158bb8fbf54324eb4bf568.zip
KVM: More 0 -> NULL conversions
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm/kvm_main.c')
-rw-r--r--drivers/kvm/kvm_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/kvm/kvm_main.c b/drivers/kvm/kvm_main.c
index 2be9738dfd78..0df0eebc54a9 100644
--- a/drivers/kvm/kvm_main.c
+++ b/drivers/kvm/kvm_main.c
@@ -2229,13 +2229,13 @@ static void kvm_exit_debug(void)
static int kvm_suspend(struct sys_device *dev, pm_message_t state)
{
decache_vcpus_on_cpu(raw_smp_processor_id());
- on_each_cpu(kvm_arch_ops->hardware_disable, 0, 0, 1);
+ on_each_cpu(kvm_arch_ops->hardware_disable, NULL, 0, 1);
return 0;
}
static int kvm_resume(struct sys_device *dev)
{
- on_each_cpu(kvm_arch_ops->hardware_enable, 0, 0, 1);
+ on_each_cpu(kvm_arch_ops->hardware_enable, NULL, 0, 1);
return 0;
}