mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
To: Matias Bjorling <m@bjorling.me>
Cc: tj@kernel.org, koverstreet@google.com, tytso@mit.edu,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] percpu-refcount: Export symbols
Date: Sun, 13 Oct 2013 04:09:25 -0700	[thread overview]
Message-ID: <20131013110925.GD5790@linux.vnet.ibm.com> (raw)
In-Reply-To: <1381494492-1735-2-git-send-email-m@bjorling.me>

On Fri, Oct 11, 2013 at 02:28:12PM +0200, Matias Bjorling wrote:
> Need to be exported for being used within modules.
> 
> Signed-off-by: Matias Bjorling <m@bjorling.me>

I will bite...  Why not EXPORT_SYMBOL_GPL()?

							Thanx, Paul

> ---
>  lib/percpu-refcount.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/lib/percpu-refcount.c b/lib/percpu-refcount.c
> index 7deeb62..25b9ac7 100644
> --- a/lib/percpu-refcount.c
> +++ b/lib/percpu-refcount.c
> @@ -53,6 +53,7 @@ int percpu_ref_init(struct percpu_ref *ref, percpu_ref_func_t *release)
>  	ref->release = release;
>  	return 0;
>  }
> +EXPORT_SYMBOL(percpu_ref_init);
> 
>  /**
>   * percpu_ref_cancel_init - cancel percpu_ref_init()
> @@ -84,6 +85,7 @@ void percpu_ref_cancel_init(struct percpu_ref *ref)
>  		free_percpu(ref->pcpu_count);
>  	}
>  }
> +EXPORT_SYMBOL(percpu_ref_cancel_init);
> 
>  static void percpu_ref_kill_rcu(struct rcu_head *rcu)
>  {
> @@ -156,3 +158,4 @@ void percpu_ref_kill_and_confirm(struct percpu_ref *ref,
> 
>  	call_rcu_sched(&ref->rcu, percpu_ref_kill_rcu);
>  }
> +EXPORT_SYMBOL(percpu_ref_kill_and_confirm);
> -- 
> 1.8.1.2
> 


  reply	other threads:[~2013-10-13 11:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-11 12:28 [PATCH] Export percpu-refcount functions Matias Bjorling
2013-10-11 12:28 ` [PATCH] percpu-refcount: Export symbols Matias Bjorling
2013-10-13 11:09   ` Paul E. McKenney [this message]
2013-10-13 17:01     ` Tejun Heo

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=20131013110925.GD5790@linux.vnet.ibm.com \
    --to=paulmck@linux.vnet.ibm.com \
    --cc=koverstreet@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m@bjorling.me \
    --cc=tj@kernel.org \
    --cc=tytso@mit.edu \
    /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

all inboxes | Powered by JetHome®