lkml.org 
[lkml]   [2008]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/3] Xen: Fix cpu_hotplug.c build by replacing is_running_on_xen() with xen_pv_domain()
    Date
    Signed-off-by: Alex Nixon <alex.nixon@citrix.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Jeremy Fitzhardinge <jeremy@goop.org>
    ---
    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..565280e 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);
    --
    1.5.4.3


    \
     
     \ /
      Last update: 2008-09-03 15:43    [W:0.019 / U:2.240 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site