Skip to content

Commit

Permalink
Xen: fix cpu_hotplug.c build by replacing is_running_on_xen() with xe…
Browse files Browse the repository at this point in the history
…n_pv_domain()

Signed-off-by: Alex Nixon <alex.nixon@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Alex Nixon authored and Ingo Molnar committed Sep 5, 2008
1 parent d68d82a commit 5c51c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/xen/cpu_hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5c51c63

Please sign in to comment.