[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <878u21mtq6.fsf@rustcorp.com.au>
Date: Wed, 02 Mar 2016 14:11:53 +1030
From: Rusty Russell <rusty@...tcorp.com.au>
To: Jacob Pan <jacob.jun.pan@...ux.intel.com>,
LKML <linux-kernel@...r.kernel.org>,
Linux PM <linux-pm@...r.kernel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Rafael Wysocki <rafael.j.wysocki@...el.com>
Cc: Srinivas Pandruvada <srinivas.pandruvada@...ux.intel.com>,
"David S. Miller" <davem@...emloft.net>,
Andrew Morton <akpm@...ux-foundation.org>,
Peter Zijlstra <peterz@...radead.org>,
Jacob Pan <jacob.jun.pan@...ux.intel.com>
Subject: Re: [PATCH v5 1/2] cpumask: export cpumask_any_but
Jacob Pan <jacob.jun.pan@...ux.intel.com> writes:
> Export cpumask_any_but() for module use. This will be used by drivers
> such as intel_rapl to locate an active cpu on a socket.
>
> Signed-off-by: Jacob Pan <jacob.jun.pan@...ux.intel.com>
Acked-by: Rusty Russell <rusty@...tcorp.com.au>
Thanks!
Rusty.
> ---
> lib/cpumask.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/lib/cpumask.c b/lib/cpumask.c
> index 5a70f61..81dedaa 100644
> --- a/lib/cpumask.c
> +++ b/lib/cpumask.c
> @@ -41,6 +41,7 @@ int cpumask_any_but(const struct cpumask *mask, unsigned int cpu)
> break;
> return i;
> }
> +EXPORT_SYMBOL(cpumask_any_but);
>
> /* These are not inline because of header tangles. */
> #ifdef CONFIG_CPUMASK_OFFSTACK
> --
> 1.9.1
Powered by blists - more mailing lists