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

Commit 5c51c637 authored by Alex Nixon's avatar Alex Nixon Committed by Ingo Molnar
Browse files

Xen: fix cpu_hotplug.c build by replacing is_running_on_xen() with xen_pv_domain()



Signed-off-by: default avatarAlex Nixon <alex.nixon@citrix.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent d68d82af
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ static int __init setup_vcpu_hotplug_event(void)
	static struct notifier_block xsn_cpu = {
		.notifier_call = setup_cpu_watcher };

	if (!is_running_on_xen())
	if (!xen_pv_domain())
		return -ENODEV;

	register_xenstore_notifier(&xsn_cpu);