lkml.org 
[lkml]   [2007]   [Feb]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH 13/13] KVM: More 0 -> NULL conversions
    From
    Date
    Signed-off-by: Avi Kivity <avi@qumranet.com>

    Index: linux-2.6/drivers/kvm/kvm_main.c
    ===================================================================
    --- linux-2.6.orig/drivers/kvm/kvm_main.c
    +++ linux-2.6/drivers/kvm/kvm_main.c
    @@ -2229,13 +2229,13 @@ static void kvm_exit_debug(void)
    static int kvm_suspend(struct sys_device *dev, pm_message_t state)
    {
    decache_vcpus_on_cpu(raw_smp_processor_id());
    - on_each_cpu(kvm_arch_ops->hardware_disable, 0, 0, 1);
    + on_each_cpu(kvm_arch_ops->hardware_disable, NULL, 0, 1);
    return 0;
    }

    static int kvm_resume(struct sys_device *dev)
    {
    - on_each_cpu(kvm_arch_ops->hardware_enable, 0, 0, 1);
    + on_each_cpu(kvm_arch_ops->hardware_enable, NULL, 0, 1);
    return 0;
    }

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2007-02-19 11:37    [from the cache]
    ©2003-2011 Jasper Spaans