projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6cede5
)
cpumask: export cpumask_any_but
author
Jacob Pan
<jacob.jun.pan@linux.intel.com>
Wed, 24 Feb 2016 21:31:35 +0000
(13:31 -0800)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Tue, 8 Mar 2016 23:26:43 +0000
(
00:26
+0100)
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>
lib/cpumask.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/cpumask.c
b/lib/cpumask.c
index 5a70f6196f577a071ae0a31e9da7fa0e1dd1bc68..81dedaab36ccfed3150281a0f915a4070f667bfd 100644
(file)
--- 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