lkml.org 
[lkml]   [2008]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 7/8] cpumask: convert misc driver functions
    On Fri, Dec 19, 2008 at 08:01:51AM -0800, Mike Travis wrote:
    > Impact: Reduce stack usage, use new cpumask API.
    >
    > Convert misc driver functions to use struct cpumask.
    >
    > To Do:
    > - Convert iucv_buffer_cpumask to cpumask_var_t.
    >
    > Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
    > Signed-off-by: Mike Travis <travis@sgi.com>

    [...]

    > --- linux-2.6-for-ingo.orig/drivers/misc/sgi-xp/xpc_main.c
    > +++ linux-2.6-for-ingo/drivers/misc/sgi-xp/xpc_main.c
    > @@ -318,7 +318,7 @@ xpc_hb_checker(void *ignore)
    >
    > /* this thread was marked active by xpc_hb_init() */
    >
    > - set_cpus_allowed_ptr(current, &cpumask_of_cpu(XPC_HB_CHECK_CPU));
    > + set_cpus_allowed_ptr(current, cpumask_of(XPC_HB_CHECK_CPU));
    >
    > /* set our heartbeating to other partitions into motion */
    > xpc_hb_check_timeout = jiffies + (xpc_hb_check_interval * HZ);

    Acked-by: Dean Nelson <dcn@sgi.com>



    \
     
     \ /
      Last update: 2008-12-29 16:41    [W:0.034 / U:32.044 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site