summaryrefslogtreecommitdiffstats
path: root/drivers/kvm
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-02-19 14:37:48 +0200
committerAvi Kivity <avi@qumranet.com>2007-03-04 11:12:41 +0200
commit19d1408dfd683daf1c158bb8fbf54324eb4bf568 (patch)
treec196af052c08706e3c7e34cceb079637839532c7 /drivers/kvm
parent0152527b76b72333121d5a1243f9e091b58d4580 (diff)
downloadop-kernel-dev-19d1408dfd683daf1c158bb8fbf54324eb4bf568.zip
op-kernel-dev-19d1408dfd683daf1c158bb8fbf54324eb4bf568.tar.gz
KVM: More 0 -> NULL conversions
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers/kvm')
-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 2be9738..0df0eeb 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;
}
OpenPOWER on IntegriCloud