Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 19d1408d authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: More 0 -> NULL conversions



Signed-off-by: default avatarAvi Kivity <avi@qumranet.com>
parent 0152527b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
}