summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Pan2016-02-24 22:31:35 +0100
committerRafael J. Wysocki2016-03-09 00:26:43 +0100
commit16ccbd87c2e5d95f40f3b7a90f40cc2b34b89a22 (patch)
tree063c3e1fd92339c18cee540e1d36c5f5dc1e8fe3
parentLinux 4.5-rc7 (diff)
downloadkernel-qcow2-linux-16ccbd87c2e5d95f40f3b7a90f40cc2b34b89a22.tar.gz
kernel-qcow2-linux-16ccbd87c2e5d95f40f3b7a90f40cc2b34b89a22.tar.xz
kernel-qcow2-linux-16ccbd87c2e5d95f40f3b7a90f40cc2b34b89a22.zip
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 <jacob.jun.pan@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-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