Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1342450

[PATCH v6 1/4] cpumask: export cpumask_any_but

From Jacob Pan <jacob.jun.pan@linux.intel.com>
Newsgroups linux.kernel
Subject [PATCH v6 1/4] cpumask: export cpumask_any_but
Date 2016-02-24 22:40 +0100
Message-ID <r5Pk6-27v-3@gated-at.bofh.it> (permalink)
References <r5Pk6-27v-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 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

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v6 1/4] cpumask: export cpumask_any_but Jacob Pan <jacob.jun.pan@linux.intel.com> - 2016-02-24 22:40 +0100

csiph-web