public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Rusty Russell <rusty@rustcorp.com.au>
To: Jacob Pan <jacob.jun.pan@linux.intel.com>,
	LKML <linux-kernel@vger.kernel.org>,
	Linux PM <linux-pm@vger.kernel.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Rafael Wysocki <rafael.j.wysocki@intel.com>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,
	"David S. Miller" <davem@davemloft.net>,
	Andrew Morton <akpm@linux-foundation.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Jacob Pan <jacob.jun.pan@linux.intel.com>
Subject: Re: [PATCH v5 1/2] cpumask: export cpumask_any_but
Date: Wed, 02 Mar 2016 14:11:53 +1030	[thread overview]
Message-ID: <878u21mtq6.fsf@rustcorp.com.au> (raw)
In-Reply-To: <1456261152-21907-2-git-send-email-jacob.jun.pan@linux.intel.com>

Jacob Pan <jacob.jun.pan@linux.intel.com> writes:
> 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>

Acked-by: Rusty Russell <rusty@rustcorp.com.au>

Thanks!
Rusty.

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

  reply	other threads:[~2016-03-02  8:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-23 20:59 [PATCH v5 0/2] powercap/rapl: reduce ipi calls and misc clean up Jacob Pan
2016-02-23 20:59 ` [PATCH v5 1/2] cpumask: export cpumask_any_but Jacob Pan
2016-03-02  3:41   ` Rusty Russell [this message]
2016-02-23 20:59 ` [PATCH v5 2/2] powercap/rapl: reduce ipi calls Jacob Pan
2016-02-24 11:02   ` Thomas Gleixner
2016-02-24 21:34     ` Jacob Pan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878u21mtq6.fsf@rustcorp.com.au \
    --to=rusty@rustcorp.com.au \
    --cc=akpm@linux-foundation.org \
    --cc=davem@davemloft.net \
    --cc=jacob.jun.pan@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=rafael.j.wysocki@intel.com \
    --cc=srinivas.pandruvada@linux.intel.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox