Il 25/06/2013 22:30, Srivatsa S. Bhat ha scritto:
> -     cpu = get_cpu();
> +     cpu = get_online_cpus_atomic();
>       vmx_vcpu_load(&vmx->vcpu, cpu);
>       vmx->vcpu.cpu = cpu;
>       err = vmx_vcpu_setup(vmx);
>       vmx_vcpu_put(&vmx->vcpu);
> -     put_cpu();
> +     put_online_cpus_atomic();

The new API has a weird name.  Why are you adding new functions instead
of just modifying get/put_cpu?

Paolo
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to