public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] export kernel call get_task_comm().
@ 2011-04-22 23:32 james_p_freyensee
  2011-04-25 20:57 ` David Rientjes
  0 siblings, 1 reply; 17+ messages in thread
From: james_p_freyensee @ 2011-04-22 23:32 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, suhail.ahmed, james_p_freyensee, christophe.guerard

From: J Freyensee <james_p_freyensee@linux.intel.com>

This allows drivers who call this function to be compiled modularly.
Otherwise, a driver who is interested in this type of functionality
has to implement their own get_task_comm() call, causing code
duplication in the Linux source tree.

Signed-off-by: J Freyensee <james_p_freyensee@linux.intel.com>
---
 fs/exec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/exec.c b/fs/exec.c
index 8328beb..e1ac338 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1004,6 +1004,7 @@ char *get_task_comm(char *buf, struct task_struct *tsk)
 	task_unlock(tsk);
 	return buf;
 }
+EXPORT_SYMBOL_GPL(get_task_comm);
 
 void set_task_comm(struct task_struct *tsk, char *buf)
 {
-- 
1.7.2.3


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [PATCH 1/4] export kernel call get_task_comm().
@ 2011-05-06 23:56 james_p_freyensee
  0 siblings, 0 replies; 17+ messages in thread
From: james_p_freyensee @ 2011-05-06 23:56 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, suhail.ahmed, christophe.guerard, james_p_freyensee

From: J Freyensee <james_p_freyensee@linux.intel.com>

This allows drivers who call this function to be compiled modularly.
Otherwise, a driver who is interested in this type of functionality
has to implement their own get_task_comm() call, causing code
duplication in the Linux source tree.

Signed-off-by: J Freyensee <james_p_freyensee@linux.intel.com>
Acked-by: David Rientjes <rientjes@google.com>
---
 fs/exec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/exec.c b/fs/exec.c
index 8328beb..e1ac338 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1004,6 +1004,7 @@ char *get_task_comm(char *buf, struct task_struct *tsk)
 	task_unlock(tsk);
 	return buf;
 }
+EXPORT_SYMBOL_GPL(get_task_comm);
 
 void set_task_comm(struct task_struct *tsk, char *buf)
 {
-- 
1.7.2.3


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [PATCH 1/4] export kernel call get_task_comm().
@ 2011-04-19 22:58 james_p_freyensee
  2011-04-19 23:22 ` David Rientjes
  0 siblings, 1 reply; 17+ messages in thread
From: james_p_freyensee @ 2011-04-19 22:58 UTC (permalink / raw)
  To: gregkh; +Cc: linux-kernel, suhail.ahmed, james_p_freyensee, christophe.guerard

From: J Freyensee <james_p_freyensee@linux.intel.com>

This allows drivers who call this function to be compiled modularly.
Otherwise, a driver who is interested in this type of functionality
has to implement their own get_task_comm() call, causing code
duplication in the Linux source tree.

Signed-off-by: J Freyensee <james_p_freyensee@linux.intel.com>
---
 fs/exec.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/exec.c b/fs/exec.c
index 8328beb..e1ac338 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1004,6 +1004,7 @@ char *get_task_comm(char *buf, struct task_struct *tsk)
 	task_unlock(tsk);
 	return buf;
 }
+EXPORT_SYMBOL_GPL(get_task_comm);
 
 void set_task_comm(struct task_struct *tsk, char *buf)
 {
-- 
1.7.2.3


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2011-05-06 23:56 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-22 23:32 [PATCH 1/4] export kernel call get_task_comm() james_p_freyensee
2011-04-25 20:57 ` David Rientjes
2011-05-05 16:59   ` J Freyensee
2011-05-05 18:55     ` David Rientjes
  -- strict thread matches above, loose matches on Subject: below --
2011-05-06 23:56 james_p_freyensee
2011-04-19 22:58 james_p_freyensee
2011-04-19 23:22 ` David Rientjes
2011-04-20  0:10   ` J Freyensee
2011-04-20  1:22     ` David Rientjes
2011-04-20  1:43       ` Greg KH
2011-04-20 18:11         ` J Freyensee
2011-04-20 19:14           ` Greg KH
2011-04-20 23:11             ` Andrew Morton
2011-04-20 23:16               ` J Freyensee
2011-04-20 23:46                 ` Andrew Morton
2011-04-21 16:12                   ` J Freyensee
2011-04-20 23:19               ` David Rientjes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox