From: Alex Nixon Date: Wed, 3 Sep 2008 13:30:21 +0000 (+0100) Subject: Xen: fix cpu_hotplug.c build by replacing is_running_on_xen() with xen_pv_domain() X-Git-Tag: v2.6.28-rc1~699^2^2~15 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5c51c637e489f3f4d58d51365b0c558549918858;p=linux-2.6-omap-h63xx.git Xen: fix cpu_hotplug.c build by replacing is_running_on_xen() with xen_pv_domain() Signed-off-by: Alex Nixon Signed-off-by: Ingo Molnar --- diff --git a/drivers/xen/cpu_hotplug.c b/drivers/xen/cpu_hotplug.c index 1bc003536cd..565280ec1c6 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);