lkml.org 
[lkml]   [2008]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 23/35] cpumask: cpumask_any_but() From: Rusty Russell <>

* Mike Travis <travis@sgi.com> wrote:

> +int cpumask_any_but(const struct cpumask *mask, unsigned int cpu)
> +{
> + unsigned int i;
> +
> + for_each_cpu(i, mask)
> + if (i != cpu)
> + break;
> + return i;
> +}
> +
> /* These are not inline because of header tangles. */

i've added a missing export here.

Ingo


\
 
 \ /
  Last update: 2008-10-23 13:03    [from the cache]
©2003-2011 Jasper Spaans