Re: [PATCH] Relay CPU hotplug support

Mathieu Desnoyers <[email protected]>
Newsgroups gmane.linux.kernel.tracing
Message-ID <20061128153827.GA30059@Krystal>
* Mathieu Desnoyers ([email protected]) wrote:
> Sorry, it's a leftover from my own changes where I did not use any list.
> You can remove the export.

Here is the patch (over the previous one I submitted) that does it.


--- a/kernel/relay.c
+++ b/kernel/relay.c
@@ -394,7 +394,7 @@ EXPORT_SYMBOL_GPL(relay_reset);
  *
  *	used by relay_open() and CPU hotplug.
  */
-struct rchan_buf *relay_open_buf(struct rchan *chan, unsigned int cpu)
+static struct rchan_buf *relay_open_buf(struct rchan *chan, unsigned int cpu)
 {
 	struct rchan_buf *buf = NULL;
 	struct dentry *dentry;
@@ -438,7 +438,6 @@ free_name:
 end:
 	return buf;
 }
-EXPORT_SYMBOL_GPL(relay_open_buf);
 
 /**
  *	relay_close_write_buf - close write to a channel buffer
@@ -465,11 +464,10 @@ static void relay_close_write_buf(struct
  *	Remove a writer reference.
  */
 
-void relay_close_buf(struct rchan_buf *buf)
+static void relay_close_buf(struct rchan_buf *buf)
 {
 	kref_put(&buf->krefw, relay_close_write_buf);
 }
-EXPORT_SYMBOL_GPL(relay_close_buf);
 
 static inline void setup_callbacks(struct rchan *chan,
 				   struct rchan_callbacks *cb)


OpenPGP public key:              http://krystal.dyndns.org:8080/key/compudj.gpg
Key fingerprint:     8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.