提交 5c51c637 编写于 作者: A Alex Nixon 提交者: Ingo Molnar

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

Signed-off-by: NAlex Nixon <alex.nixon@citrix.com>
Signed-off-by: NIngo Molnar <mingo@elte.hu>
上级 d68d82af
...@@ -78,7 +78,7 @@ static int __init setup_vcpu_hotplug_event(void) ...@@ -78,7 +78,7 @@ static int __init setup_vcpu_hotplug_event(void)
static struct notifier_block xsn_cpu = { static struct notifier_block xsn_cpu = {
.notifier_call = setup_cpu_watcher }; .notifier_call = setup_cpu_watcher };
if (!is_running_on_xen()) if (!xen_pv_domain())
return -ENODEV; return -ENODEV;
register_xenstore_notifier(&xsn_cpu); register_xenstore_notifier(&xsn_cpu);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册