lkml.org 
[lkml]   [2011]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 5/7] xen: PV on HVM: support PV spinlocks
    > +static void xen_hvm_spinlock_init(void)
    > +{
    > + if (!xen_have_vector_callback)
    > + return;
    > + xen_init_lock_cpu(0);
    > + xen_init_spinlocks();
    > +}
    > +
    > +static void __init xen_hvm_smp_prepare_cpus(unsigned int max_cpus)
    > +{
    > + native_smp_prepare_cpus(max_cpus);
    > + xen_hvm_spinlock_init();
    > +}

    You could squash those two together. Ah, next patch does something interesting.


    \
     
     \ /
      Last update: 2011-02-22 20:33    [W:0.019 / U:33.400 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site