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


Groups > linux.kernel > #1341034

[PATCH v5 1/2] cpumask: export cpumask_any_but

From Jacob Pan <jacob.jun.pan@linux.intel.com>
Newsgroups linux.kernel
Subject [PATCH v5 1/2] cpumask: export cpumask_any_but
Date 2016-02-23 22:10 +0100
Message-ID <r5snx-2CU-43@gated-at.bofh.it> (permalink)
References <r5snw-2CU-25@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 | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v5 0/2] powercap/rapl: reduce ipi calls and misc clean up Jacob Pan <jacob.jun.pan@linux.intel.com> - 2016-02-23 22:10 +0100
  [PATCH v5 2/2] powercap/rapl: reduce ipi calls Jacob Pan <jacob.jun.pan@linux.intel.com> - 2016-02-23 22:10 +0100
    Re: [PATCH v5 2/2] powercap/rapl: reduce ipi calls Thomas Gleixner <tglx@linutronix.de> - 2016-02-24 12:10 +0100
      Re: [PATCH v5 2/2] powercap/rapl: reduce ipi calls Jacob Pan <jacob.jun.pan@linux.intel.com> - 2016-02-24 22:40 +0100
  [PATCH v5 1/2] cpumask: export cpumask_any_but Jacob Pan <jacob.jun.pan@linux.intel.com> - 2016-02-23 22:10 +0100
    Re: [PATCH v5 1/2] cpumask: export cpumask_any_but Rusty Russell <rusty@rustcorp.com.au> - 2016-03-02 09:20 +0100

csiph-web