diff options
author | Alex Nixon <alex.nixon@citrix.com> | 2008-09-03 14:30:21 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-05 17:44:07 +0200 |
commit | 5c51c637e489f3f4d58d51365b0c558549918858 (patch) | |
tree | 1dc3d7ff4dbb827a53f46e7bad6b09ea39fffe39 /drivers/xen | |
parent | d68d82afd4c88e25763b23cd9cd4974573a3706f (diff) | |
download | kernel_samsung_aries-5c51c637e489f3f4d58d51365b0c558549918858.zip kernel_samsung_aries-5c51c637e489f3f4d58d51365b0c558549918858.tar.gz kernel_samsung_aries-5c51c637e489f3f4d58d51365b0c558549918858.tar.bz2 |
Xen: fix cpu_hotplug.c build by replacing is_running_on_xen() with xen_pv_domain()
Signed-off-by: Alex Nixon <alex.nixon@citrix.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
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 1bc0035..565280ec 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) 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); |