aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Pan <[email protected]>2016-02-24 13:31:35 -0800
committerRafael J. Wysocki <[email protected]>2016-03-09 00:26:43 +0100
commit16ccbd87c2e5d95f40f3b7a90f40cc2b34b89a22 (patch)
tree063c3e1fd92339c18cee540e1d36c5f5dc1e8fe3
parentf6cede5b49e822ebc41a099fe41ab4989f64e2cb (diff)
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 <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
-rw-r--r--lib/cpumask.c1
1 files changed, 1 insertions, 0 deletions
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