From: Jacob Pan Date: Wed, 24 Feb 2016 21:31:35 +0000 (-0800) Subject: cpumask: export cpumask_any_but X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=16ccbd87c2e5d95f40f3b7a90f40cc2b34b89a22;p=deliverable%2Flinux.git cpumask: export cpumask_any_but 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 Signed-off-by: Rafael J. Wysocki --- diff --git a/lib/cpumask.c b/lib/cpumask.c index 5a70f6196f57..81dedaab36cc 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