[linux-yocto] [PATCH] cpumask: Export cpumask_any_but()

Nilesh Bacchewar nilesh.bacchewar at intel.com
Thu Jun 30 15:30:35 PDT 2016


Almost every cpumask function is exported, just not the one I need to make the
Intel uncore driver modular.

commit 3712bba1a260ad851f3aa8ddea9cb7326f6aa0b3 upstream.

Signed-off-by: Thomas Gleixner <tglx at linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz at infradead.org>
Cc: Andi Kleen <andi.kleen at intel.com>
Cc: Arnaldo Carvalho de Melo <acme at redhat.com>
Cc: Borislav Petkov <bp at alien8.de>
Cc: David S. Miller <davem at davemloft.net>
Cc: Harish Chegondi <harish.chegondi at intel.com>
Cc: Jacob Pan <jacob.jun.pan at linux.intel.com>
Cc: Jiri Olsa <jolsa at redhat.com>
Cc: Kan Liang <kan.liang at intel.com>
Cc: Linus Torvalds <torvalds at linux-foundation.org>
Cc: Peter Zijlstra <peterz at infradead.org>
Cc: Rusty Russell <rusty at rustcorp.com.au>
Cc: Stephane Eranian <eranian at google.com>
Cc: Vince Weaver <vincent.weaver at maine.edu>
Cc: linux-kernel at vger.kernel.org
Link: http://lkml.kernel.org/r/20160222221011.878299859@linutronix.de
Signed-off-by: Ingo Molnar <mingo at kernel.org>
---
 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



More information about the linux-yocto mailing list