lkml.org 
[lkml]   [2008]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 6/8] cpumask: Optimize cpumask_of_cpu in lib/smp_processor_id.c

    hmmm:

    > --- linux-2.6.tip.orig/lib/smp_processor_id.c
    > +++ linux-2.6.tip/lib/smp_processor_id.c

    > unsigned long preempt_count = preempt_count();
    > int this_cpu = raw_smp_processor_id();
    > - cpumask_t this_mask;
    > + cpumask_of_cpu_ptr_declare(this_mask);

    > - this_mask = cpumask_of_cpu(this_cpu);
    > + cpumask_of_cpu_ptr_next(this_mask, cpu);

    'cpu' is not declared ...

    Ingo


    \
     
     \ /
      Last update: 2008-07-18 22:37    [W:7.297 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site