aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-02-19 07:37:48 -0500
committerAvi Kivity <avi@qumranet.com>2007-03-04 04:12:41 -0500
commit19d1408dfd683daf1c158bb8fbf54324eb4bf568 (patch)
treec196af052c08706e3c7e34cceb079637839532c7 /drivers
parent0152527b76b72333121d5a1243f9e091b58d4580 (diff)
KVM: More 0 -> NULL conversions
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'drivers')
-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)
2229static int kvm_suspend(struct sys_device *dev, pm_message_t state) 2229static int kvm_suspend(struct sys_device *dev, pm_message_t state)
2230{ 2230{
2231 decache_vcpus_on_cpu(raw_smp_processor_id()); 2231 decache_vcpus_on_cpu(raw_smp_processor_id());
2232 on_each_cpu(kvm_arch_ops->hardware_disable, 0, 0, 1); 2232 on_each_cpu(kvm_arch_ops->hardware_disable, NULL, 0, 1);
2233 return 0; 2233 return 0;
2234} 2234}
2235 2235
2236static int kvm_resume(struct sys_device *dev) 2236static int kvm_resume(struct sys_device *dev)
2237{ 2237{
2238 on_each_cpu(kvm_arch_ops->hardware_enable, 0, 0, 1); 2238 on_each_cpu(kvm_arch_ops->hardware_enable, NULL, 0, 1);
2239 return 0; 2239 return 0;
2240} 2240}
2241 2241