From: Avi Kivity Date: Mon, 19 Feb 2007 12:37:48 +0000 (+0200) Subject: KVM: More 0 -> NULL conversions X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=19d1408dfd683daf1c158bb8fbf54324eb4bf568;p=openwrt%2Fstaging%2Fblogic.git KVM: More 0 -> NULL conversions Signed-off-by: Avi Kivity --- 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; }