diff options
Diffstat (limited to 'drivers/xen')
-rw-r--r-- | drivers/xen/cpu_hotplug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/cpu_hotplug.c b/drivers/xen/cpu_hotplug.c index 1bc003536cdb..565280ec1c6a 100644 --- a/drivers/xen/cpu_hotplug.c +++ b/drivers/xen/cpu_hotplug.c | |||
@@ -78,7 +78,7 @@ static int __init setup_vcpu_hotplug_event(void) | |||
78 | static struct notifier_block xsn_cpu = { | 78 | static struct notifier_block xsn_cpu = { |
79 | .notifier_call = setup_cpu_watcher }; | 79 | .notifier_call = setup_cpu_watcher }; |
80 | 80 | ||
81 | if (!is_running_on_xen()) | 81 | if (!xen_pv_domain()) |
82 | return -ENODEV; | 82 | return -ENODEV; |
83 | 83 | ||
84 | register_xenstore_notifier(&xsn_cpu); | 84 | register_xenstore_notifier(&xsn_cpu); |